Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
varlink-cli: Drup unneeded Vec creation
Fixes clippy warning: ```rust warning: useless use of `vec!` --> varlink-cli/src/watchclose_epoll.rs:157:21 | 157 | let mut v = vec![Event { events: 0, data: 0 }, Event { events: 0, data: 1 }]; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[Event { events: 0, data: 0 }, Event { events: 0, data: 1 }]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec = note: `#[warn(clippy::useless_vec)]` on by default ``` Signed-off-by: Zeeshan Ali Khan <[email protected]>
- Loading branch information