]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sync/condvar.rs
Don't subst an adt def
[rust.git] / library / std / src / sync / condvar.rs
index d8aca9651b8678726b24244920c2dc574badca15..b41918ec1cffc6c1f7613b70da2b4732026b87dc 100644 (file)
@@ -61,6 +61,7 @@ impl WaitTimeoutResult {
     ///     }
     /// }
     /// ```
+    #[must_use]
     #[stable(feature = "wait_timeout", since = "1.5.0")]
     pub fn timed_out(&self) -> bool {
         self.0