RS.CLIPPY.MIXED_CASE_HEX_LITERALS

Hex literals whose letter digits are not consistently upper- or lowercased

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

What it does

Warns on hexadecimal literals with mixed-case letter digits.

Why is this bad?

It looks confusing.

Example

0x1a9BAcD

Use instead:

0x1A9BACD