Skip to content

Prepare for 0.7.1 release. #462

Prepare for 0.7.1 release.

Prepare for 0.7.1 release. #462

GitHub Actions / clippy succeeded Oct 12, 2023 in 1s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 267 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/device/gpu.rs:258:5
    |
258 | /     fn update_cursor(
259 | |         &mut self,
260 | |         resource_id: u32,
261 | |         scanout_id: u32,
...   |
266 | |         is_move: bool,
267 | |     ) -> Result {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default

Check warning on line 188 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/device/gpu.rs:188:29
    |
188 |         req.write_to_prefix(&mut *self.queue_buf_send).unwrap();
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut self.queue_buf_send`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 183 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/device/gpu.rs:183:34
    |
183 |         Ok(Rsp::read_from_prefix(&*self.queue_buf_recv).unwrap())
    |                                  ^^^^^^^^^^^^^^^^^^^^^ help: try: `&self.queue_buf_recv`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref

Check warning on line 177 in src/device/gpu.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
   --> src/device/gpu.rs:177:29
    |
177 |         req.write_to_prefix(&mut *self.queue_buf_send).unwrap();
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `&mut self.queue_buf_send`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
    = note: `#[warn(clippy::explicit_auto_deref)]` on by default