-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
E-needs-testCall for participation: writing testsCall for participation: writing testsgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy
Description
#[cfg_attr(
feature = "cargo-clippy",
allow(clippy::many_single_char_names)
)]
pub fn append_to() {
let (a, b, c, d, e) = (0, 0, 0, 0, 0);
}produces
warning: 5th binding whose name is just one char
--> src/main.rs:7:22
|
7 | let (a, b, c, d, e) = (0, 0, 0, 0, 0);
| ^
|
= note: #[warn(clippy::many_single_char_names)] on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.212/index.html#many_single_char_names
That lint should not trigger, since it is allowed for the function.
thomwiggers
Metadata
Metadata
Assignees
Labels
E-needs-testCall for participation: writing testsCall for participation: writing testsgood first issueThese issues are a good way to get started with ClippyThese issues are a good way to get started with Clippy