Skip to content

Commit 711333f

Browse files
add a note that whitespace alignment is nonidiomatic
1 parent b400a43 commit 711333f

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
@@ -85,6 +85,9 @@
8585
//! assert_eq!(arr[1...3], [ 1,2,3 ]); // RangeInclusive
8686
//! }
8787
//! ```
88+
//!
89+
//! Note: whitespace alignment is not idiomatic Rust. An exception is made in
90+
//! this case to facilitate comparison.
8891
8992
#![stable(feature = "rust1", since = "1.0.0")]
9093

0 commit comments

Comments
 (0)