]> git.lizzy.rs Git - rust.git/commitdiff
Fix #[stable] coming before } instead of after
authorDabo Ross <daboross@daboross.net>
Wed, 7 Jan 2015 20:37:07 +0000 (12:37 -0800)
committerDavid Ross <daboross@daboross.net>
Wed, 7 Jan 2015 20:41:54 +0000 (20:41 +0000)
This changes a line that has `\n#[stable]}` to instead have `}\n#[stable]`

src/liballoc/boxed.rs

index d46f18abf97b481f781225bc42b7d291cc399f37..3757a0fbd37ce4a7436c3bb2e0fffdd097c590a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
+// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
 //
@@ -102,8 +102,8 @@ 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> {}
 
 impl<S: hash::Writer, T: ?Sized + Hash<S>> Hash<S> for Box<T> {