Skip to content

Make the `wasm-bindgen` flag `--target` configurable

Sign in for the full log view
GitHub Actions / clippy succeeded Dec 8, 2023 in 0s

clippy

6 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 6
Note 0
Help 0

Versions

  • rustc 1.74.1 (a28077b28 2023-12-04)
  • cargo 1.74.1 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (a28077b 2023-12-04)

Annotations

Check warning on line 215 in src/tools.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert_with` to construct default value

warning: use of `or_insert_with` to construct default value
   --> src/tools.rs:215:14
    |
215 |             .or_insert_with(OnceCell::new);
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `#[warn(clippy::unwrap_or_default)]` on by default

Check warning on line 215 in src/tools.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `or_insert_with` to construct default value

warning: use of `or_insert_with` to construct default value
   --> src/tools.rs:215:14
    |
215 |             .or_insert_with(OnceCell::new);
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
    = note: `#[warn(clippy::unwrap_or_default)]` on by default

Check warning on line 284 in src/pipelines/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary `pub(self)`

warning: unnecessary `pub(self)`
   --> src/pipelines/mod.rs:284:1
    |
284 | pub(self) fn trunk_script_id_selector(id: usize) -> String {
    | ^^^^^^^^^ help: remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self

Check warning on line 279 in src/pipelines/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary `pub(self)`

warning: unnecessary `pub(self)`
   --> src/pipelines/mod.rs:279:1
    |
279 | pub(self) fn trunk_id_selector(id: usize) -> String {
    | ^^^^^^^^^ help: remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
    = note: `#[warn(clippy::needless_pub_self)]` on by default

Check warning on line 284 in src/pipelines/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary `pub(self)`

warning: unnecessary `pub(self)`
   --> src/pipelines/mod.rs:284:1
    |
284 | pub(self) fn trunk_script_id_selector(id: usize) -> String {
    | ^^^^^^^^^ help: remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self

Check warning on line 279 in src/pipelines/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary `pub(self)`

warning: unnecessary `pub(self)`
   --> src/pipelines/mod.rs:279:1
    |
279 | pub(self) fn trunk_id_selector(id: usize) -> String {
    | ^^^^^^^^^ help: remove it
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self
    = note: `#[warn(clippy::needless_pub_self)]` on by default