Skip to content

Commit 54ccf95

Browse files
committed
Better English for documenting when to use unimplemented!()
1 parent 126561c commit 54ccf95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/macros/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ macro_rules! unreachable {
595595
/// Indicates unimplemented code by panicking with a message of "not implemented".
596596
///
597597
/// This allows your code to type-check, which is useful if you are prototyping or
598-
/// implementing a trait that requires multiple methods which you don't plan of using all of.
598+
/// implementing a trait that requires multiple methods which you don't plan to use all of.
599599
///
600600
/// The difference between `unimplemented!` and [`todo!`] is that while `todo!`
601601
/// conveys an intent of implementing the functionality later and the message is "not yet

0 commit comments

Comments
 (0)