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