Skip to content

Commit d66ccfe

Browse files
authored
Fix typo
1 parent b89d532 commit d66ccfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trait-variant/src/variant.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ fn mk_variant(
125125
quote! { #variant }
126126
}
127127

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

0 commit comments

Comments
 (0)