Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
weiznich authored May 24, 2024
1 parent d2158c2 commit e846ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diesel_derives/src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl SqlIdentifier {
ident.set_span(self.span);
Ok(ident)
}
Err(_e) if self.field_name.contains(" ") => Err(syn::Error::new(
Err(_e) if self.field_name.contains(' ') => Err(syn::Error::new(
self.span(),
format!(
"Expected valid identifier, found `{0}`. \
Expand Down

0 comments on commit e846ad4

Please sign in to comment.