mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
chore: fix word conjugations (#4894)
* chore: fix word tenses * hyphenate
This commit is contained in:
@@ -1571,7 +1571,7 @@ impl UdpSocket {
|
||||
|
||||
/// Gets the value for the `SO_BINDTODEVICE` option on this socket
|
||||
///
|
||||
/// This value gets the socket binded device's interface name.
|
||||
/// This value gets the socket-bound device's interface name.
|
||||
#[cfg(any(target_os = "android", target_os = "fuchsia", target_os = "linux",))]
|
||||
#[cfg_attr(
|
||||
docsrs,
|
||||
|
||||
@@ -88,7 +88,7 @@ pub(crate) fn local<T: 'static>() -> (Steal<T>, Local<T>) {
|
||||
}
|
||||
|
||||
impl<T> Local<T> {
|
||||
/// Returns true if the queue has entries that can be stealed.
|
||||
/// Returns true if the queue has entries that can be stolen.
|
||||
pub(crate) fn is_stealable(&self) -> bool {
|
||||
!self.inner.is_empty()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user