Skip to content
Snippets Groups Projects
Verified Commit a062ed29 authored by Vincent Lafeychine's avatar Vincent Lafeychine
Browse files

clippy: Fix op_ref

parent 784fbde8
No related branches found
No related tags found
1 merge request!43Fix remaining `clippy::style`
......@@ -81,7 +81,6 @@ rustflags = [
# clippy::style
"-Aclippy::new_without_default",
"-Aclippy::op_ref",
"-Aclippy::redundant_closure",
"-Aclippy::redundant_field_names",
"-Aclippy::redundant_pattern_matching",
......
......@@ -719,7 +719,7 @@ pub fn filter_tool_attrs(attrs: &[ast::Attribute]) -> Vec<&ast::AttrItem> {
let seg = item.path.segments.get(0)?;
if seg.ident.name.as_str() == &config::spec_hotword() { Some(item) } else { None }
if seg.ident.name.as_str() == config::spec_hotword() { Some(item) } else { None }
},
_ => None,
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment