mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
![]() if_all_same(codes.values().cloned()).unwrap_or_default() was quite unreadable because it wasn't obvious that codes.values() are the prefixes. It's better to introduce another Map rather than having Maps within Maps. |
||
---|---|---|
.. | ||
config.rs | ||
define_rule_mapping.rs | ||
define_violation.rs | ||
derive_message_formats.rs | ||
lib.rs | ||
rule_code_prefix.rs | ||
rule_namespace.rs |