Skip to content

Commit 3e00763

Browse files
committed
forgot to change this back oop
1 parent 3d05f39 commit 3e00763

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/alloc/src/boxed.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,9 +2107,9 @@ impl<T: Clone, A: Allocator + Clone> Clone for Box<[T], A> {
21072107
}
21082108

21092109
#[cfg(not(no_global_oom_handling))]
2110-
#[stable(feature = "allocator_api", since = "CURRENT_RUSTC_VERSION")]
2110+
#[stable(feature = "box_slice_clone", since = "1.3.0")]
21112111
impl<A: Allocator + Clone> Clone for Box<str, A> {
2112-
default fn clone(&self) -> Self {
2112+
fn clone(&self) -> Self {
21132113
let buf = Box::clone_from_ref_in(self.as_bytes(), self.1.clone());
21142114
unsafe { from_boxed_utf8_unchecked_in(buf) }
21152115
}

0 commit comments

Comments
 (0)