Skip to content

Support No reference Types in RUSTFLAGS by going from wasm->wat->wasm #391

Support No reference Types in RUSTFLAGS by going from wasm->wat->wasm

Support No reference Types in RUSTFLAGS by going from wasm->wat->wasm #391

GitHub Actions / clippy succeeded Dec 11, 2024 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 356 in main/src/project.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

warning: this expression creates a reference which is immediately dereferenced by the compiler
   --> main/src/project.rs:356:33
    |
356 |     let wasm = wasmer::wat2wasm(&wat_str.as_bytes())
    |                                 ^^^^^^^^^^^^^^^^^^^ help: change this to: `wat_str.as_bytes()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
    = note: `#[warn(clippy::needless_borrow)]` on by default