From e846ad40e9ede87b7959c462f0bb3d7cc5163ea4 Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 24 May 2024 06:47:39 +0000 Subject: [PATCH] Fix clippy --- diesel_derives/src/attrs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diesel_derives/src/attrs.rs b/diesel_derives/src/attrs.rs index 15ed85ac3225..e196ba6f74ed 100644 --- a/diesel_derives/src/attrs.rs +++ b/diesel_derives/src/attrs.rs @@ -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}`. \