Skip to content

regexのフィーチャフラグ無効化: stdunicode-perl以外のフィーチャを無効化 #81

regexのフィーチャフラグ無効化: stdunicode-perl以外のフィーチャを無効化

regexのフィーチャフラグ無効化: stdunicode-perl以外のフィーチャを無効化 #81

Triggered via pull request September 25, 2024 12:05
Status Success
Total duration 45s
Artifacts

code-quality-check.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: wasm/src/lib.rs#L42
[clippy] reported by reviewdog 🐶 <pre><code>warning: you should consider adding a `Default` implementation for `Parser` --> wasm/src/lib.rs:42:5 | 42 | / pub fn new() -> Self { 43 | | #[cfg(feature = "debug")] 44 | | console_error_panic_hook::set_once(); 45 | | Parser { 46 | | async_api: Arc::new(Default::default()), 47 | | } 48 | | } | |_____^ | = 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:38:8 | 38 | #[warn(clippy::new_without_default)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try adding this | 40 + impl Default for Parser { 41 + fn default() -> Self { 42 + Self::new() 43 + } 44 + } | </code></pre> Raw Output: wasm/src/lib.rs:42:5:w: <pre><code>warning: you should consider adding a `Default` implementation for `Parser` --> wasm/src/lib.rs:42:5 | 42 | / pub fn new() -> Self { 43 | | #[cfg(feature = "debug")] 44 | | console_error_panic_hook::set_once(); 45 | | Parser { 46 | | async_api: Arc::new(Default::default()), 47 | | } 48 | | } | |_____^ | = 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:38:8 | 38 | #[warn(clippy::new_without_default)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try adding this | 40 + impl Default for Parser { 41 + fn default() -> Self { 42 + Self::new() 43 + } 44 + } | </code></pre> __END__