Skip to content

Quick fix to remove unused parameter leaves unwanted whitespace #6663

@rherrmann

Description

@rherrmann

The quick fix Remove unused parameter leaves a whitespace behind, if there are further parameters.

Before:

fn foo(<|>unused: u8, used: u8) -> u8 {
  return used;
}

After:

fn foo( used: u8) -> u8 {
  return used;
}

Note the whitespace before used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-assistsE-has-instructionsIssue has some instructions and pointers to code to get startedS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions