Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
p-avital committed Jul 5, 2024
1 parent fcca5c6 commit b1a28fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions stabby-macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,10 +555,9 @@ impl Unself for syn::Path {
inputs: inputs.iter().map(|t| t.unself(this)).collect(),
output: match output {
syn::ReturnType::Default => syn::ReturnType::Default,
syn::ReturnType::Type(arrow, ty) => syn::ReturnType::Type(
*arrow,
Box::new(ty.unself(this)),
),
syn::ReturnType::Type(arrow, ty) => {
syn::ReturnType::Type(*arrow, Box::new(ty.unself(this)))
}
},
})
}
Expand Down

0 comments on commit b1a28fa

Please sign in to comment.