]> git.lizzy.rs Git - rust.git/commitdiff
Better English for documenting when to use unimplemented!()
authorNick Lamb <git@tree.tlrmx.org>
Mon, 24 May 2021 21:21:05 +0000 (22:21 +0100)
committerNick Lamb <git@tree.tlrmx.org>
Mon, 24 May 2021 21:21:05 +0000 (22:21 +0100)
library/core/src/macros/mod.rs

index b46a7aa138cd1afb19c01af03e6bf0e17faeadcc..feadf5b4c7c9a72d6e081bd644f34bef920bf1b3 100644 (file)
@@ -595,7 +595,7 @@ macro_rules! unreachable {
 /// Indicates unimplemented code by panicking with a message of "not implemented".
 ///
 /// This allows your code to type-check, which is useful if you are prototyping or
-/// implementing a trait that requires multiple methods which you don't plan of using all of.
+/// implementing a trait that requires multiple methods which you don't plan to use all of.
 ///
 /// The difference between `unimplemented!` and [`todo!`] is that while `todo!`
 /// conveys an intent of implementing the functionality later and the message is "not yet