Skip to content

pro build warning #3

@litecreator

Description

@litecreator

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions