fix some clippy lints
This commit is contained in:
1 parent
ee25c03e74
commit
3e55bb8885
3 files changed
+3
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user