CIの改善: wasm-pack
を使うジョブをwasm-pack-test.yaml
に切り出した
#3
Annotations
1 error and 1 warning
lint
Process completed with exit code 1.
|
clippy:
src/lib.rs#L18
[clippy] reported by reviewdog 🐶
<pre><code>warning: you should consider adding a `Default` implementation for `Parser`
--> src/lib.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Parser {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
16 + impl Default for Parser {
17 + fn default() -> Self {
18 + Self::new()
19 + }
20 + }
|
</code></pre>
Raw Output:
src/lib.rs:18:5:w:
<pre><code>warning: you should consider adding a `Default` implementation for `Parser`
--> src/lib.rs:18:5
|
18 | / pub fn new() -> Self {
19 | | Parser {}
20 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
16 + impl Default for Parser {
17 + fn default() -> Self {
18 + Self::new()
19 + }
20 + }
|
</code></pre>
__END__
|