Skip to content

Commit

Permalink
Reword spurious errors comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 8, 2024
1 parent 2075e87 commit 485c2b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/src/expand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub fn derive(input: &DeriveInput) -> TokenStream {
match try_expand(input) {
Ok(expanded) => expanded,
// If there are invalid attributes in the input, expand to an Error impl
// anyway to minimize spurious knock-on errors in other code that uses
// anyway to minimize spurious secondary errors in other code that uses
// this type as an Error.
Err(error) => fallback::expand(input, error),
}
Expand Down

0 comments on commit 485c2b7

Please sign in to comment.