mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user