Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry committed Feb 13, 2024
1 parent b89d532 commit d66ccfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trait-variant/src/variant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ fn mk_variant(
quote! { #variant }
}

// Transforms a one item declaration within the definition if it has `async fn` and/or `-> impl Trait` return types by adding new bounds.
// Transforms one item declaration within the definition if it has `async fn` and/or `-> impl Trait` return types by adding new bounds.
fn transform_item(item: &TraitItem, bounds: &Vec<TypeParamBound>) -> TraitItem {
let TraitItem::Fn(fn_item @ TraitItemFn { sig, .. }) = item else {
return item.clone();
Expand Down

0 comments on commit d66ccfe

Please sign in to comment.