smithay/src/wayland
Uli Schlachter 1a2b170606 Make clippy happy
This fixes the following clippy warnings:

error: usage of `Rc<T>` when T is a buffer type
   --> src/wayland/dmabuf/mod.rs:265:14
    |
265 |     formats: Rc<Vec<Format>>,
    |              ^^^^^^^^^^^^^^^ help: try: `Rc<[Format]>`
    |
    = note: `-D clippy::rc-buffer` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#rc_buffer

error: usage of `Rc<T>` when T is a buffer type
  --> src/wayland/shm/mod.rs:91:14
   |
91 |     formats: Rc<Vec<wl_shm::Format>>,
   |              ^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Rc<[wl_shm::Format]>`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#rc_buffer

Signed-off-by: Uli Schlachter <psychon@znc.in>
2020-12-29 14:43:56 +01:00
..
compositor Fix most rustc & clippy warnings 2020-09-16 12:56:32 +02:00
data_device Update wayland-rs to 0.28 2020-09-16 12:56:32 +02:00
dmabuf Make clippy happy 2020-12-29 14:43:56 +01:00
explicit_synchronization Make slog-stdlog into an optional dependency 2020-07-12 16:38:05 +02:00
output Make slog-stdlog into an optional dependency 2020-07-12 16:38:05 +02:00
seat New clippy fixes 2020-11-02 10:24:55 +01:00
shell Use Serial type for all serials 2020-08-27 13:07:01 +02:00
shm Make clippy happy 2020-12-29 14:43:56 +01:00
mod.rs Fix most rustc & clippy warnings 2020-09-16 12:56:32 +02:00