鹿嶋市の表記ゆれ: 「鹿島市」と入力された場合「鹿嶋市」に補正する #198
Annotations
2 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Code review with 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__
|
The logs for this run have expired and are no longer available.
Loading