fix some clippy lints

This commit is contained in:
Evan Almloff committed 2023-09-27 10:21:33 -05:00
1 parent ee25c03e74
commit 3e55bb8885
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -390,7 +390,7 @@ impl<'a> DynamicContext<'a> {
_ => {
let idx = match mapping {
Some(mapping) => mapping.get_attribute_idx(&attr)?,
Some(mapping) => mapping.get_attribute_idx(attr)?,
None => self.dynamic_attributes.len(),
};
self.dynamic_attributes.push(attr);