@@ -629,7 +629,7 @@ impl<T> [T] {
629629 #[ inline]
630630 #[ allow( unused_braces) ]
631631 pub fn into_vec < A : Allocator > ( self : Box < Self , A > ) -> Vec < T , A >
632- where [ ( ) ; { crate :: meta_num_slots !( A , CO_ALLOC_PREF ) } ] :
632+ where [ ( ) ; { crate :: meta_num_slots_default !( A ) } ] :
633633 {
634634 // N.B., see the `hack` module in this file for more details.
635635 hack:: into_vec ( self )
@@ -986,15 +986,15 @@ where
986986#[ cfg( not( no_global_oom_handling) ) ]
987987#[ allow( unused_braces) ]
988988pub ( crate ) trait SpecCloneIntoVec < T , A : Allocator >
989- where [ ( ) ; { crate :: meta_num_slots !( A , CO_ALLOC_PREF ) } ] :
989+ where [ ( ) ; { crate :: meta_num_slots_default !( A ) } ] :
990990{
991991 fn clone_into ( & self , target : & mut Vec < T , A > ) ;
992992}
993993
994994#[ cfg( not( no_global_oom_handling) ) ]
995995#[ allow( unused_braces) ]
996996impl < T : Clone , A : Allocator > SpecCloneIntoVec < T , A > for [ T ]
997- where [ ( ) ; { crate :: meta_num_slots !( A , CO_ALLOC_PREF ) } ] :
997+ where [ ( ) ; { crate :: meta_num_slots_default !( A ) } ] :
998998{
999999 default fn clone_into ( & self , target : & mut Vec < T , A > ) {
10001000 // drop anything in target that will not be overwritten
@@ -1013,7 +1013,7 @@ where [(); { crate::meta_num_slots!(A, CO_ALLOC_PREF) }]:
10131013#[ cfg( not( no_global_oom_handling) ) ]
10141014#[ allow( unused_braces) ]
10151015impl < T : Copy , A : Allocator > SpecCloneIntoVec < T , A > for [ T ]
1016- where [ ( ) ; { crate :: meta_num_slots !( A , CO_ALLOC_PREF ) } ] :
1016+ where [ ( ) ; { crate :: meta_num_slots_default !( A ) } ] :
10171017{
10181018 fn clone_into ( & self , target : & mut Vec < T , A > ) {
10191019 target. clear ( ) ;
0 commit comments