Update README.md w/ note about maps & lexical scopes #238
GitHub Actions / clippy
succeeded
Oct 2, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check warning on line 247 in crates/moot/src/lib.rs
github-actions / clippy
the borrowed expression implements the required traits
warning: the borrowed expression implements the required traits
--> crates/moot/src/lib.rs:247:37
|
247 | runner.eval(player, &format!("{command} \"moot-line:{line_no}\";"))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `format!("{command} \"moot-line:{line_no}\";")`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Check warning on line 24 in crates/values/src/var/var.rs
github-actions / clippy
unused import: `num_traits::ToPrimitive`
warning: unused import: `num_traits::ToPrimitive`
--> crates/values/src/var/var.rs:24:5
|
24 | use num_traits::ToPrimitive;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
Loading