]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #20710: daboross/fix-stable-before-bracket
authorAlex Crichton <alex@alexcrichton.com>
Thu, 8 Jan 2015 01:18:06 +0000 (17:18 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 8 Jan 2015 01:18:06 +0000 (17:18 -0800)
This changes a line that has `\n#[stable]}` to instead have `}\n#[stable]`.

The #[stable] has been before the bracket since https://github.com/rust-lang/rust/commit/b94bcbf56eab163517e8ffc93888284b8dbb6238.

This is a (very) minor change, and I have not built this locally because of my not-so-powerful machine.

1  2 
src/liballoc/boxed.rs

index adca8b9cc4c27a179f79abf4ba6da6ade26987aa,3757a0fbd37ce4a7436c3bb2e0fffdd097c590a8..03198caaac4e4ab49c248c0cdb7b1d541fc489aa
@@@ -102,11 -102,10 +102,11 @@@ impl<T: ?Sized + Ord> Ord for Box<T> 
      fn cmp(&self, other: &Box<T>) -> Ordering {
          Ord::cmp(&**self, &**other)
      }
- #[stable]}
+ }
+ #[stable]
  impl<T: ?Sized + Eq> Eq for Box<T> {}
  
 +#[cfg(stage0)]
  impl<S: hash::Writer, T: ?Sized + Hash<S>> Hash<S> for Box<T> {
      #[inline]
      fn hash(&self, state: &mut S) {