Commit 3fe4cc1
committed
replace clippy
`clippy` has changed behavior in [1] (Rust 1.95) where it no longer
warns about the `let_and_return` lint when a comment is placed between
the let binding and the return expression. Nightly thus fails to build,
because the expectation is no longer fulfilled.
Thus replace the expectation with an `allow`.
Link: rust-lang/rust-clippy#16461 [1]
Signed-off-by: Benno Lossin <lossin@kernel.org>expect with allow
1 parent 9a092f8 commit 3fe4cc1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1143 | 1143 | | |
1144 | 1144 | | |
1145 | 1145 | | |
1146 | | - | |
1147 | 1146 | | |
1148 | 1147 | | |
1149 | 1148 | | |
1150 | 1149 | | |
1151 | 1150 | | |
1152 | 1151 | | |
| 1152 | + | |
1153 | 1153 | | |
1154 | 1154 | | |
1155 | 1155 | | |
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
1162 | | - | |
1163 | 1162 | | |
1164 | 1163 | | |
1165 | 1164 | | |
1166 | 1165 | | |
1167 | 1166 | | |
1168 | 1167 | | |
| 1168 | + | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| |||
0 commit comments