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

pro build warning #3

Open
marlonhanks opened this issue Feb 20, 2021 · 0 comments
Open

pro build warning #3

marlonhanks opened this issue Feb 20, 2021 · 0 comments

Comments

@marlonhanks
Copy link
Member

Questions

  • Is this a bug concerning building of ink! smart contracts?
  • Is this a bug that appears when interacting with smart contracts via the Polkadot JS browser UI?

FAQ

  • Are you using the nightly Rust channel to compile your smart contract?
  • Are you using an up-to-date cargo-contract? Check via cargo contract --version.
    • If you are unsure please tell us your version noted there.
  • Are you using an up-to-date ink! version in your smart contract?
    • You can check this by looking into the [dependencies] section of your Cargo.toml.
    • If you are unsure please tell us your version noted there.

Describe the bug
A clear and concise description of what the bug or odd behavior is.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

warning: variable does not need to be mutable
   --> crates/env/src/chain_extension.rs:383:18
    |
383 |                 |mut output| {
    |                  ----^^^^^^
    |                  |
    |                  help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: 1 warning emitted
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

No branches or pull requests

1 participant