Skip to content

Commit 34be21d

Browse files
add a note that whitespace alignment is nonidiomatic
1 parent c330046 commit 34be21d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libcore/ops.rs

+3
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@
157157
//! assert_eq!(arr[1...3], [ 1,2,3 ]); // RangeInclusive
158158
//! }
159159
//! ```
160+
//!
161+
//! Note: whitespace alignment is not idiomatic Rust. An exception is made in
162+
//! this case to facilitate comparison.
160163
161164
#![stable(feature = "rust1", since = "1.0.0")]
162165

0 commit comments

Comments
 (0)