Skip to content

Commit d2c1b38

Browse files
committed
Fix typos
1 parent 1d3bcbe commit d2c1b38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/trait_/common_ord.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub fn build_ord_signature(item: &Item, trait_: &DeriveTrait, body: &TokenStream
162162
}
163163
}
164164
}
165-
// If there is only one variant and it's empty or if the struct is empty, simple
165+
// If there is only one variant and it's empty or if the struct is empty, simply
166166
// return `Equal`.
167167
item if item.is_empty(**trait_) => {
168168
quote! { #equal }

src/trait_/partial_eq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl TraitImpl for PartialEq {
6363
}
6464
}
6565
}
66-
// If there is only one variant and it's empty or if the struct is empty, simple
66+
// If there is only one variant and it's empty or if the struct is empty, simply
6767
// return `true`.
6868
item if item.is_empty(**trait_) => {
6969
quote! { true }

0 commit comments

Comments
 (0)