Merge pull request #57 from foresterre/foresterre-patch-1 #1052
Annotations
1 error and 9 warnings
msrv
Process completed with exit code 2.
|
useless use of `format!`:
examples/minimal.rs#L167
warning: useless use of `format!`
--> examples/minimal.rs:167:23
|
167 | let message = format!("{{ \"event\" : \"program-finished\", \"success\" : true }}");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"{ \"event\" : \"program-finished\", \"success\" : true }".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
examples/minimal.rs#L125
warning: useless use of `format!`
--> examples/minimal.rs:125:28
|
125 | Self::Reset => format!("{{ \"event\" : \"reset\" }}"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"{ \"event\" : \"reset\" }".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
|
useless use of `format!`:
examples/minimal.rs#L124
warning: useless use of `format!`
--> examples/minimal.rs:124:32
|
124 | Self::Increment => format!("{{ \"event\" : \"increment\" }}"),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"{ \"event\" : \"increment\" }".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
|
use of `default` to create a unit struct:
examples/json.rs#L40
warning: use of `default` to create a unit struct
--> examples/json.rs:40:30
|
40 | let handler = JsonHandler::default();
| ^^^^^^^^^^^ help: remove this call to `default`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_constructed_unit_structs
= note: `#[warn(clippy::default_constructed_unit_structs)]` on by default
|
msrv
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
msrv
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/
|
msrv
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/
|
msrv
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/
|
msrv
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/
|