Skip to content

Commit 2a270a0

Browse files
committed
Remove parens around .. in documentation snippet
1 parent f072775 commit 2a270a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/range.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::hash::Hash;
1111
/// The `..` syntax is a `RangeFull`:
1212
///
1313
/// ```
14-
/// assert_eq!((..), std::ops::RangeFull);
14+
/// assert_eq!(.., std::ops::RangeFull);
1515
/// ```
1616
///
1717
/// It does not have an [`IntoIterator`] implementation, so you can't use it in

0 commit comments

Comments
 (0)