Reduce editor message size by 67% and fix simple clippy warnings (#3327)

Reduce message size and fix some clippy issues
This commit is contained in:
skearya
2025-11-02 02:50:29 -05:00
committed by GitHub
parent d919dfe757
commit c4bbb7e880
9 changed files with 17 additions and 21 deletions

View File

@@ -205,7 +205,7 @@ impl VisitMut for GenericsVisitor<'_> {
}
fn visit_path_segment_mut(&mut self, i: &mut PathSegment) {
if i.ident.to_string() == "Self" {
if i.ident == "Self" {
i.ident = self.self_ident.clone();
}
visit_mut::visit_path_segment_mut(self, i);