reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs|43 col 22| warning: useless use of format!
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string()
: "Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs|43 col 22| warning: useless use of format!
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string()
: "Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
Filtered Findings (0)
Annotations
Check warning on line 43 in framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs
github-actions / clippy
[clippy] framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs#L43
warning: useless use of `format!`
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
Raw output
framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22:w:warning: useless use of `format!`
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
__END__
Check warning on line 43 in framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs
github-actions / clippy
[clippy] framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs#L43
warning: useless use of `format!`
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
Raw output
framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22:w:warning: useless use of `format!`
--> framework/meta/src/cmd/contract/generate_proxy/proxy_gen_main.rs:43:22
|
43 | ...("{}", format!("Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.").red());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Contract has been modified and proxies have not been updated. Regenerate proxies to avoid inconsistencies.".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
__END__