]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in std::sync::Once documentation
authorAmanieu d'Antras <amanieu@gmail.com>
Wed, 11 May 2016 19:42:26 +0000 (20:42 +0100)
committerAmanieu d'Antras <amanieu@gmail.com>
Wed, 11 May 2016 19:42:26 +0000 (20:42 +0100)
src/libstd/sync/once.rs

index e228d236a3ca716317dd709ecd79471c508dc971..d8a4a69c73cd38ad8f371188ac3127f74be782d2 100644 (file)
@@ -218,7 +218,6 @@ pub fn call_once<F>(&'static self, f: F) where F: FnOnce() {
     /// The closure `f` is yielded a structure which can be used to query the
     /// state of this `Once` (whether initialization has previously panicked or
     /// not).
-    /// poisoned or not.
     #[unstable(feature = "once_poison", issue = "31688")]
     pub fn call_once_force<F>(&'static self, f: F) where F: FnOnce(&OnceState) {
         // same as above, just with a different parameter to `call_inner`.