Rollup merge of #85644 - tialaramex:master, r=dtolnay
Better English for documenting when to use unimplemented!() I don't think "plan of using" is correct here. I considered "plan on using" but eventually decided "plan to use" is better.
This commit is contained in:
commit
46615598a9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user