This repository was archived by the owner on Jul 25, 2022. It is now read-only.
Commit 1774f36
Joe Grund
Fix GUI clippy issues (#1953)
Rust 1.44 made `vec![]` expand to `Vec::new()` (rust-lang/rust#70632).
As such clippy is now (somewhat correctly) interpreting that the macro could be used points-free.
clippy should be smart enough to not substitute the expanded macro, but
for now we can silence the errors by using a points-free constructor.
Fixes #1949.
Signed-off-by: Joe Grund <jgrund@whamcloud.io>1 parent 2c28813 commit 1774f36
File tree
2 files changed
+3
-5
lines changed- iml-gui/crate/src
- components/action_dropdown
- page
2 files changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 206 | + | |
| 207 | + | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
0 commit comments