about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-07 17:18:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-07 17:18:06 -0800
commit4373db61f4cb076ad2f5410cffbc8bec74dcb89b (patch)
treec666c350464a58db73d00158096f0b41c77fbde8 /src/liballoc
parent5d342acba2307ac3b141f19da0caae7406fc7664 (diff)
parent801585d75ae410b684ba3c844267c8fc728cb26e (diff)
downloadrust-4373db61f4cb076ad2f5410cffbc8bec74dcb89b.tar.gz
rust-4373db61f4cb076ad2f5410cffbc8bec74dcb89b.zip
rollup merge of #20710: daboross/fix-stable-before-bracket
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.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index adca8b9cc4c..03198caaac4 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -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> {}
 
 #[cfg(stage0)]