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 {
5757// default fn syntax for specialization changes in the future.
5858#[ cfg( feature = "nightly" ) ]
5959macro_rules! default_fn {
60- ( $( $tt: tt) * ) => {
61- default $( $tt) *
60+ ( # [ $ ( $a : tt ) * ] $( $tt: tt) * ) => {
61+ # [ $ ( $a ) * ] default $( $tt) *
6262 }
6363}
6464#[ cfg( not( feature = "nightly" ) ) ]
Original file line number Diff line number Diff line change @@ -1578,8 +1578,8 @@ trait RawTableClone {
15781578 unsafe fn clone_from_spec ( & mut self , source : & Self , on_panic : impl FnMut ( & mut Self ) ) ;
15791579}
15801580impl < T : Clone , A : Allocator + Clone > RawTableClone for RawTable < T , A > {
1581- #[ cfg_attr( feature = "inline-more" , inline) ]
15821581 default_fn ! {
1582+ #[ cfg_attr( feature = "inline-more" , inline) ]
15831583 unsafe fn clone_from_spec( & mut self , source: & Self , on_panic: impl FnMut ( & mut Self ) ) {
15841584 self . clone_from_impl( source, on_panic) ;
15851585 }
You can’t perform that action at this time.
0 commit comments