From f2566bbaebc4ea56bc3717ee8c04bee7d5c0a8d3 Mon Sep 17 00:00:00 2001 From: Oliver Middleton Date: Mon, 10 Jul 2017 02:07:29 +0100 Subject: Correct some stability attributes These show up in rustdoc so need to be correct. --- src/liballoc/boxed.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liballoc') 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 Clone for Box<[T]> { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "box_borrow", since = "1.1.0")] impl borrow::Borrow for Box { fn borrow(&self) -> &T { &**self } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "box_borrow", since = "1.1.0")] impl borrow::BorrowMut for Box { fn borrow_mut(&mut self) -> &mut T { &mut **self -- cgit 1.4.1-3-g733a5