From 710fe0a57de9abe3aab586ea4459bcd19608b4b7 Mon Sep 17 00:00:00 2001 From: Marek Kuskowski <50183564+nylonicious@users.noreply.github.com> Date: Thu, 3 Aug 2023 07:00:25 +0200 Subject: [PATCH] io: fix typo --- tokio/src/io/interest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/io/interest.rs b/tokio/src/io/interest.rs index c4ca41c81cd..7806b90a068 100644 --- a/tokio/src/io/interest.rs +++ b/tokio/src/io/interest.rs @@ -131,7 +131,7 @@ impl Interest { /// const RW_INTEREST: Interest = Interest::READABLE.add(Interest::WRITABLE); /// /// let w_interest = RW_INTEREST.remove(Interest::READABLE).unwrap(); - /// assert!(!w_interest.is_is_readable()); + /// assert!(!w_interest.is_readable()); /// assert!(w_interest.is_writable()); /// /// // Removing all interests from the set returns `None`.