Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix tests for clippy #14

Merged
merged 1 commit into from
Dec 24, 2023
Merged

chore: fix tests for clippy #14

merged 1 commit into from
Dec 24, 2023

Conversation

akiomik
Copy link
Contributor

@akiomik akiomik commented Dec 23, 2023

Fixes this linter error:

error: the borrowed expression implements the required traits
   --> tests/spec.rs:246:43
    |
246 |             let store = Store::from_bytes(&wasm, None).unwrap();
    |                                           ^^^^^ help: change this to: `wasm`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`

error: could not compile `chibiwasm` (test "spec") due to previous error
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.

Copy link
Owner

@skanehira skanehira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

@skanehira skanehira merged commit b13d4ce into skanehira:main Dec 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants