Skip to content

Commit

Permalink
add a note that whitespace alignment is nonidiomatic
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-piziak committed Aug 30, 2016
1 parent c330046 commit 34be21d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libcore/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
//! assert_eq!(arr[1...3], [ 1,2,3 ]); // RangeInclusive
//! }
//! ```
//!
//! Note: whitespace alignment is not idiomatic Rust. An exception is made in
//! this case to facilitate comparison.

#![stable(feature = "rust1", since = "1.0.0")]

Expand Down

0 comments on commit 34be21d

Please sign in to comment.