Skip to content

boulder/draft: Add support for license matching when running boulder new #1587

boulder/draft: Add support for license matching when running boulder new

boulder/draft: Add support for license matching when running boulder new #1587

GitHub Actions / clippy failed Feb 7, 2025 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

boulder/src/draft.rs|150 col 9| warning: useless use of format!
--> boulder/src/draft.rs:150:9
|
150 | format!("UPDATE LICENSE")
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using .to_string(): "UPDATE LICENSE".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 150 in boulder/src/draft.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] boulder/src/draft.rs#L150

warning: useless use of `format!`
   --> boulder/src/draft.rs:150:9
    |
150 |         format!("UPDATE LICENSE")
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"UPDATE LICENSE".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
boulder/src/draft.rs:150:9:w:warning: useless use of `format!`
   --> boulder/src/draft.rs:150:9
    |
150 |         format!("UPDATE LICENSE")
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"UPDATE LICENSE".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__