諫早市の表記ゆれをrelease/v0.2.0-rc.3にマージ #179
Annotations
2 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Code review with clippy:
wasm/src/lib.rs#L51
[clippy] reported by reviewdog 🐶
<pre><code>warning: you should consider adding a `Default` implementation for `Parser`
--> wasm/src/lib.rs:51:5
|
51 | / pub fn new() -> Self {
52 | | Parser {
53 | | parser: parser::Parser::default(),
54 | | }
55 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
note: the lint level is defined here
--> wasm/src/lib.rs:47:8
|
47 | #[warn(clippy::new_without_default)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: try adding this
|
49 + impl Default for Parser {
50 + fn default() -> Self {
51 + Self::new()
52 + }
53 + }
|
</code></pre>
Raw Output:
wasm/src/lib.rs:51:5:w:
<pre><code>warning: you should consider adding a `Default` implementation for `Parser`
--> wasm/src/lib.rs:51:5
|
51 | / pub fn new() -> Self {
52 | | Parser {
53 | | parser: parser::Parser::default(),
54 | | }
55 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
note: the lint level is defined here
--> wasm/src/lib.rs:47:8
|
47 | #[warn(clippy::new_without_default)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: try adding this
|
49 + impl Default for Parser {
50 + fn default() -> Self {
51 + Self::new()
52 + }
53 + }
|
</code></pre>
__END__
|
Loading