clean: Remove prints #240
Annotations
12 warnings
this boolean expression can be simplified:
tests/expected/assert.rs#L35
warning: this boolean expression can be simplified
--> tests/expected/assert.rs:35:13
|
35 | assert!(!(false));
| ^^^^^^^^ help: try: `true`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
|
this boolean expression can be simplified:
tests/expected/assert.rs#L30
warning: this boolean expression can be simplified
--> tests/expected/assert.rs:30:13
|
30 | assert!(!(0 == 1));
| ^^^^^^^^^ help: try: `0 != 1`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
= note: `#[warn(clippy::nonminimal_bool)]` on by default
|
equality checks against false can be replaced by a negation:
tests/expected/built_ins.rs#L38
warning: equality checks against false can be replaced by a negation
--> tests/expected/built_ins.rs:38:13
|
38 | assert!(b == false);
| ^^^^^^^^^^ help: try simplifying it as shown: `!b`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: `#[warn(clippy::bool_comparison)]` on by default
|
comparison to empty slice:
tests/expected/built_ins.rs#L37
warning: comparison to empty slice
--> tests/expected/built_ins.rs:37:13
|
37 | assert!(a == "");
| ^^^^^^^ help: using `is_empty` is clearer and more explicit: `a.is_empty()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#comparison_to_empty
= note: `#[warn(clippy::comparison_to_empty)]` on by default
|
binary comparison to literal `Option::None`:
tests/expected/coverage.rs#L99
warning: binary comparison to literal `Option::None`
--> tests/expected/coverage.rs:99:8
|
99 | if Some(1) != None {
| ^^^^^^^^^^^^^^^ help: use `Option::is_some()` instead: `Some(1).is_some()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#partialeq_to_none
= note: `#[warn(clippy::partialeq_to_none)]` on by default
|
variable declared with type underscore:
tests/expected/lambda.rs#L29
warning: variable declared with type underscore
--> tests/expected/lambda.rs:29:5
|
29 | let myfunc: _ = |x, y| (x + y);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: remove the explicit type `_` declaration
--> tests/expected/lambda.rs:29:15
|
29 | let myfunc: _ = |x, y| (x + y);
| ^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_with_type_underscore
= note: `#[warn(clippy::let_with_type_underscore)]` on by default
|
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, scherermichael-oss/[email protected], actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|