From 53cf021b813c61cdeace26e863c89f65f6e92abd Mon Sep 17 00:00:00 2001 From: Lioness100 Date: Wed, 10 Aug 2022 12:50:25 -0400 Subject: [PATCH] chore: fix word conjugations (#4894) * chore: fix word tenses * hyphenate --- tokio/src/net/udp.rs | 2 +- tokio/src/runtime/thread_pool/queue.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/net/udp.rs b/tokio/src/net/udp.rs index d2d4d4273a8..096756eb4ac 100644 --- a/tokio/src/net/udp.rs +++ b/tokio/src/net/udp.rs @@ -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, diff --git a/tokio/src/runtime/thread_pool/queue.rs b/tokio/src/runtime/thread_pool/queue.rs index 1f5841d6dda..2d53257428e 100644 --- a/tokio/src/runtime/thread_pool/queue.rs +++ b/tokio/src/runtime/thread_pool/queue.rs @@ -88,7 +88,7 @@ pub(crate) fn local() -> (Steal, Local) { } impl Local { - /// 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() }