diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-07-12 06:58:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-12 06:58:49 -0600 |
| commit | 388fce9dab429e2cc90588727ae07a4c878bd7b3 (patch) | |
| tree | e6e3c09e5d62df96ca9c574fdaa5274885751978 /src/liballoc | |
| parent | cc20ab1f2509de4ef0a9953e514d62fa23b6c572 (diff) | |
| parent | f2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3 (diff) | |
| download | rust-388fce9dab429e2cc90588727ae07a4c878bd7b3.tar.gz rust-388fce9dab429e2cc90588727ae07a4c878bd7b3.zip | |
Rollup merge of #43137 - ollie27:stab, r=aturon
Correct some stability attributes These show up in rustdoc so need to be correct.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/boxed.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs index 76cf10f0d55..94f5f4042e1 100644 --- a/src/liballoc/boxed.rs +++ b/src/liballoc/boxed.rs @@ -726,14 +726,14 @@ impl<T: Clone> Clone for Box<[T]> { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "box_borrow", since = "1.1.0")] impl<T: ?Sized> borrow::Borrow<T> for Box<T> { fn borrow(&self) -> &T { &**self } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "box_borrow", since = "1.1.0")] impl<T: ?Sized> borrow::BorrowMut<T> for Box<T> { fn borrow_mut(&mut self) -> &mut T { &mut **self |
