diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-11-26 10:21:45 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-11-26 16:50:13 -0800 |
| commit | 60541cdc1ec334b278740fd6d59b9d08929e6d0d (patch) | |
| tree | 807a52a2c2ce80e7b77753367029cd9f5eca8658 /src/libstd | |
| parent | 62137b6d7976635c0c8271f14c5f09fe519d8ba9 (diff) | |
Test fixes and rebase conflicts
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/macros.rs | 11 |
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") +/// } /// } /// ``` /// |
