Tests: the format 2.2 library test takes each name by auto-deref
What: name: *name became the field shorthand; clippy's explicit_auto_deref refused the deref in all three configurations (quick check m3-max-73798). Verified: the next quick check.
This commit is contained in:
1 parent
25945236d1
commit
9df5c5a8ac
1 file changed
+1
-1
@@ -72,7 +72,7 @@ fn a_format_2_2_library_compiles_as_today_s_layout() {
|
||||
.iter()
|
||||
.zip(&modules)
|
||||
.map(|((name, type_code, _), m)| MtlbFunction {
|
||||
name: *name,
|
||||
name,
|
||||
type_code: *type_code,
|
||||
bitcode: m.clone(),
|
||||
constants: Vec::new(),
|
||||
|
||||
Reference in new issue
Block a user