about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-26 10:21:45 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-26 16:50:13 -0800
commit60541cdc1ec334b278740fd6d59b9d08929e6d0d (patch)
tree807a52a2c2ce80e7b77753367029cd9f5eca8658 /src/libstd
parent62137b6d7976635c0c8271f14c5f09fe519d8ba9 (diff)
Test fixes and rebase conflicts
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/macros.rs11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index dbb45f2e556..12ca80bfaab 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -205,11 +205,12 @@ macro_rules! debug_assert_eq(
 ///
 /// ```rust
 /// fn foo(x: Option<int>) {
-///    match x {
-///     Some(n) if n >= 0 => println!("Some(Non-negative)"),
-///     Some(n) if n <  0 => println!("Some(Negative)"),
-///     Some(_)           => unreachable!(), // compile error if commented out
-///     None              => println!("None")
+///     match x {
+///         Some(n) if n >= 0 => println!("Some(Non-negative)"),
+///         Some(n) if n <  0 => println!("Some(Negative)"),
+///         Some(_)           => unreachable!(), // compile error if commented out
+///         None              => println!("None")
+///     }
 /// }
 /// ```
 ///