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 {
293
293
}
294
294
} ) ;
295
295
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".
298
298
let option = Some ( seg)
299
299
. filter ( |seg| seg. ident == "Option" )
300
300
. and_then ( |seg| {
@@ -311,11 +311,11 @@ impl Arg {
311
311
new_ref. mutability = None ;
312
312
pass_by_ref = true ;
313
313
Type :: Reference ( new_ref)
314
- } ,
314
+ }
315
315
_ => ty. clone ( ) ,
316
316
} ;
317
317
GenericArgument :: Type ( _rtype)
318
- } ,
318
+ }
319
319
_ => ga. clone ( ) ,
320
320
} ;
321
321
new_ga. to_token_stream ( ) . to_string ( )
@@ -327,7 +327,7 @@ impl Arg {
327
327
328
328
let stringified = match result {
329
329
Some ( result) if is_return => result,
330
- _ => match option {
330
+ _ => match option {
331
331
Some ( result) => result,
332
332
None => path. to_token_stream ( ) . to_string ( ) ,
333
333
} ,
You can’t perform that action at this time.
0 commit comments