diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:06 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-07 17:18:06 -0800 |
| commit | 4373db61f4cb076ad2f5410cffbc8bec74dcb89b (patch) | |
| tree | c666c350464a58db73d00158096f0b41c77fbde8 /src/liballoc | |
| parent | 5d342acba2307ac3b141f19da0caae7406fc7664 (diff) | |
| parent | 801585d75ae410b684ba3c844267c8fc728cb26e (diff) | |
| download | rust-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.rs | 6 |
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)] |
