Skip to content

Commit

Permalink
Better English for documenting when to use unimplemented!()
Browse files Browse the repository at this point in the history
  • Loading branch information
tialaramex committed May 24, 2021
1 parent 126561c commit 54ccf95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 54ccf95

Please sign in to comment.