File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -293,8 +293,8 @@ impl Arg {
293293 }
294294 } ) ;
295295
296- // For for types that are `Option<&mut T>` to turn them into `Option<&T>`, marking the Arg as
297- // as "passed by reference".
296+ // For for types that are `Option<&mut T>` to turn them into `Option<&T>`,
297+ // marking the Arg as as "passed by reference".
298298 let option = Some ( seg)
299299 . filter ( |seg| seg. ident == "Option" )
300300 . and_then ( |seg| {
@@ -311,11 +311,11 @@ impl Arg {
311311 new_ref. mutability = None ;
312312 pass_by_ref = true ;
313313 Type :: Reference ( new_ref)
314- } ,
314+ }
315315 _ => ty. clone ( ) ,
316316 } ;
317317 GenericArgument :: Type ( _rtype)
318- } ,
318+ }
319319 _ => ga. clone ( ) ,
320320 } ;
321321 new_ga. to_token_stream ( ) . to_string ( )
@@ -327,7 +327,7 @@ impl Arg {
327327
328328 let stringified = match result {
329329 Some ( result) if is_return => result,
330- _ => match option {
330+ _ => match option {
331331 Some ( result) => result,
332332 None => path. to_token_stream ( ) . to_string ( ) ,
333333 } ,
You can’t perform that action at this time.
0 commit comments