diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-09-03 21:38:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-03 21:38:41 +0200 |
| commit | 50aea927f5da6e5f7db71ce0dd5b38d113b44fef (patch) | |
| tree | 5bbb2c099fec95017f0348550d1bfa947d72d5be | |
| parent | 2a1af898b2cb535a45cefe67acf9d023eff16b27 (diff) | |
| parent | 2a270a0066c6cf1d713eedc1e096548cee5442fb (diff) | |
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.
| -rw-r--r-- | library/core/src/ops/range.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/ops/range.rs b/library/core/src/ops/range.rs index ba5e6ddc752..cc596293ca3 100644 --- a/library/core/src/ops/range.rs +++ b/library/core/src/ops/range.rs @@ -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 |
