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 23, 2016
1 parent b400a43 commit 711333f
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 @@ -85,6 +85,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 711333f

Please sign in to comment.