]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #16635 : steveklabnik/rust/ordering_comment, r=huonw
authorbors <bors@rust-lang.org>
Thu, 21 Aug 2014 21:25:56 +0000 (21:25 +0000)
committerbors <bors@rust-lang.org>
Thu, 21 Aug 2014 21:25:56 +0000 (21:25 +0000)
This way people won't try to copy/paste it in.

This is provided as an alternate solution to #16003. What do you think, @treeman?

1  2 
src/doc/guide.md

index c4c1fce23c5bb6409c1b805645e52a87199146da,3672bec7042d1f0a54b98ec474f9fcca57f59c60..9fa5f933e30c06ff65922790d622914668092854
@@@ -1084,11 -1084,10 +1084,10 @@@ enum Ordering 
  }
  ```
  
- This is an enum that is provided by the Rust standard library. An `Ordering`
- can only be _one_ of `Less`, `Equal`, or `Greater` at any given time. Here's
- an example:
+ An `Ordering` can only be _one_ of `Less`, `Equal`, or `Greater` at any given
+ time. Here's an example:
  
 -```rust
 +```{rust}
  fn cmp(a: int, b: int) -> Ordering {
      if a < b { Less }
      else if a > b { Greater }