File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ macro_rules! cfg_if {
57
57
// default fn syntax for specialization changes in the future.
58
58
#[ cfg( feature = "nightly" ) ]
59
59
macro_rules! default_fn {
60
- ( $( $tt: tt) * ) => {
61
- default $( $tt) *
60
+ ( # [ $ ( $a : tt ) * ] $( $tt: tt) * ) => {
61
+ # [ $ ( $a ) * ] default $( $tt) *
62
62
}
63
63
}
64
64
#[ cfg( not( feature = "nightly" ) ) ]
Original file line number Diff line number Diff line change @@ -1578,8 +1578,8 @@ trait RawTableClone {
1578
1578
unsafe fn clone_from_spec ( & mut self , source : & Self , on_panic : impl FnMut ( & mut Self ) ) ;
1579
1579
}
1580
1580
impl < T : Clone , A : Allocator + Clone > RawTableClone for RawTable < T , A > {
1581
- #[ cfg_attr( feature = "inline-more" , inline) ]
1582
1581
default_fn ! {
1582
+ #[ cfg_attr( feature = "inline-more" , inline) ]
1583
1583
unsafe fn clone_from_spec( & mut self , source: & Self , on_panic: impl FnMut ( & mut Self ) ) {
1584
1584
self . clone_from_impl( source, on_panic) ;
1585
1585
}
You can’t perform that action at this time.
0 commit comments