Skip to content

[#42] Shoes (#97)

[#42] Shoes (#97) #28

GitHub Actions / clippy succeeded Sep 24, 2023 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.72.0 (5680fa18f 2023-08-23)
  • cargo 1.72.0 (103a7ff2e 2023-08-15)
  • clippy 0.1.72 (5680fa1 2023-08-23)

Annotations

Check warning on line 86 in rpg_tools_rendering/src/rendering/equipment/footwear.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> rpg_tools_rendering/src/rendering/equipment/footwear.rs:86:39
   |
86 |     renderer.render_polygon(&polygon, &options);
   |                                       ^^^^^^^^ help: change this to: `options`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
   = note: `#[warn(clippy::needless_borrow)]` on by default