File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -561,11 +561,13 @@ pub fn one(input: TokenStream) -> TokenStream {
561561 . into ( )
562562}
563563
564- fn split_for_impl ( generics : & syn:: Generics ) -> ( syn:: ImplGenerics , syn:: TypeGenerics , impl quote:: ToTokens ) {
564+ fn split_for_impl (
565+ generics : & syn:: Generics ,
566+ ) -> ( syn:: ImplGenerics , syn:: TypeGenerics , impl quote:: ToTokens ) {
565567 let ( impl_, type_, where_) = generics. split_for_impl ( ) ;
566568 let where_ = match where_ {
567- Some ( where_) => quote ! { #where_, } ,
568- None => quote ! { where } ,
569+ Some ( where_) => quote ! { #where_, } ,
570+ None => quote ! { where } ,
569571 } ;
570572 ( impl_, type_, where_)
571573}
Original file line number Diff line number Diff line change @@ -20,7 +20,9 @@ use std::ops::Neg;
2020 Num ,
2121 Float ,
2222) ]
23- struct MyThing < T : Cake > ( T ) where T : Lie ;
23+ struct MyThing < T : Cake > ( T )
24+ where
25+ T : Lie ;
2426
2527trait Cake { }
2628trait Lie { }
You can’t perform that action at this time.
0 commit comments