mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 13:30:49 -05: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.