more clippy fixes

This commit is contained in:
Evan Almloff committed 2023-07-19 13:54:10 -07:00
1 parent 1f19ac9334
commit 212022d0c2
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1086,7 +1086,7 @@ Finally, call `.build()` to create the instance of `{name}`.
pub fn new(attrs: &[syn::Attribute]) -> Result<TypeBuilderAttr, Error> {
let mut result = TypeBuilderAttr::default();
for attr in attrs {
if path_to_single_string(&attr.path()).as_deref() != Some("builder") {
if path_to_single_string(attr.path()).as_deref() != Some("builder") {
continue;
}