Commit Graph

5 Commits

Author SHA1 Message Date
Ada Alakbarova 3157c0b674 reduce suggestion diff
Now, only `call_span` is replaced, so the receiver is not a part of the
diff. This also removes the need to create a snippet for the receiver.
2026-01-23 10:48:55 +01:00
Ada Alakbarova ccdda582a8 clean-up 2026-01-16 23:04:59 +01:00
Samuel Tardieu e16801e68c Use symbols instead of &str when possible 2025-05-19 22:47:57 +02:00
Alex Macleod 7b337f6e25 Replace some Symbol::as_str usage 2025-04-25 01:03:03 +00:00
Florian Brucker fe35e08e9f 8733: Suggest str.lines when splitting at hard-coded newlines
Adds a new `splitting_strings_at_newlines` lint that suggests to use
`str.lines` instead of splitting a trimmed string at hard-coded
newlines.
2023-12-31 13:30:36 +01:00