c2cf40cdcd
Use const sym where possible I ran a regex search and replace to use const `sym` values where possible. This should give some performance boost by avoiding string interning at runtime. Con: It is not as consistent as always using `sym!`. I also changed an internal lint to suggest using `sym::{}`, making an assumption that this will always work for diagnostic items. changelog: none |
||
---|---|---|
.. | ||
bind_instead_of_map.rs | ||
inefficient_to_string.rs | ||
manual_saturating_arithmetic.rs | ||
mod.rs | ||
option_map_unwrap_or.rs | ||
unnecessary_filter_map.rs | ||
unnecessary_lazy_eval.rs |