RS.CLIPPY.MANY_SINGLE_CHAR_NAMES

Too many single character bindings

This checker is a Clippy lint created by The Rust Project Contributors. The documentation shown here is a copy of the original documentation for: many_single_char_names. Copyright ©2025 The Rust Team. All rights reserved.

What it does

Checks for too many variables whose name consists of a single character.

Why is this bad?

It's hard to memorize what a variable means without a descriptive name.

Example

let (a, b, c, d, e, f, g) = (...);

Configuration

  • single-char-binding-names-threshold: The maximum number of single char bindings a scope may have

    (default: 4)