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 @@ -1657,8 +1657,8 @@ trait RawTableClone {
1657
1657
unsafe fn clone_from_spec ( & mut self , source : & Self , on_panic : impl FnMut ( & mut Self ) ) ;
1658
1658
}
1659
1659
impl < T : Clone , A : Allocator + Clone > RawTableClone for RawTable < T , A > {
1660
- #[ cfg_attr( feature = "inline-more" , inline) ]
1661
1660
default_fn ! {
1661
+ #[ cfg_attr( feature = "inline-more" , inline) ]
1662
1662
unsafe fn clone_from_spec( & mut self , source: & Self , on_panic: impl FnMut ( & mut Self ) ) {
1663
1663
self . clone_from_impl( source, on_panic) ;
1664
1664
}
You can’t perform that action at this time.
0 commit comments