vhost-device/vhost-device-scmi/src
Stefano Garzarella 65140bff6a Use Vec::first() instead of Vec::get(0)
Fix the following clippy warning:

    warning: accessing first element with `configs.get(0)`
       --> vhost-device-vsock/src/main.rs:410:22
        |
    410 |         let config = configs.get(0).unwrap();
        |                      ^^^^^^^^^^^^^^ help: try: `configs.first()`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
        = note: `#[warn(clippy::get_first)]` on by default

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
2024-01-15 13:13:37 +02:00
..
devices Use Vec::first() instead of Vec::get(0) 2024-01-15 13:13:37 +02:00
main.rs scmi: revert to previous --help-devices behavior 2023-12-06 16:32:50 +05:30
scmi.rs Move all crates to workspace root 2023-10-16 12:03:57 +05:30
vhu_scmi.rs scmi: use PathBuf for socket path 2023-12-05 11:58:42 +02:00