Update README.md #61
clippy
8 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 8 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check warning on line 18 in js/src/lib.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/lib.rs:18:1
|
18 | #[wasm_bindgen(start)]
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 4 in js/src/parser.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/parser.rs:4:1
|
4 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 37 in js/src/build_info.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/build_info.rs:37:1
|
37 | #[wasm_bindgen(js_name = "buildInfo")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 14 in js/src/build_info.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/build_info.rs:14:1
|
14 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 14 in js/src/build_info.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/build_info.rs:14:1
|
14 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 14 in js/src/build_info.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/build_info.rs:14:1
|
14 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 14 in js/src/build_info.rs
github-actions / clippy
unneeded unit expression
warning: unneeded unit expression
--> js/src/build_info.rs:14:1
|
14 | #[wasm_bindgen]
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
= note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info)
Check warning on line 108 in core/src/n.rs
github-actions / clippy
use of `char::is_digit` with literal radix of 10
warning: use of `char::is_digit` with literal radix of 10
--> core/src/n.rs:108:3
|
108 | c.is_digit(10) || c == '_'
| ^^^^^^^^^^^^^^ help: try: `c.is_ascii_digit()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix
= note: `#[warn(clippy::is_digit_ascii_radix)]` on by default