Rollup merge of #115279 - schuelermine:patch/doc/RangeFull/remote-parens, r=Mark-Simulacrum
RangeFull: Remove parens around .. in documentation snippet I’ve removed unnecessary parentheses in a documentation snippet documenting `RangeFull`. It could’ve lead people to believe the parentheses were necessary.
This commit is contained in:
commit
50aea927f5
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ use crate::hash::Hash;
|
|||
/// The `..` syntax is a `RangeFull`:
|
||||
///
|
||||
/// ```
|
||||
/// assert_eq!((..), std::ops::RangeFull);
|
||||
/// assert_eq!(.., std::ops::RangeFull);
|
||||
/// ```
|
||||
///
|
||||
/// It does not have an [`IntoIterator`] implementation, so you can't use it in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue