diff --git a/tokio/src/net/udp.rs b/tokio/src/net/udp.rs index d2d4d4273..096756eb4 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 1f5841d6d..2d5325742 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() }