aboutsummaryrefslogtreecommitdiff
path: root/crates/libeditor
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-13 16:36:16 +0100
committerAleksey Kladov <[email protected]>2018-08-13 16:36:16 +0100
commitc146331b1c92c3a6d58217b61f95e69155a3a4f8 (patch)
treeeb8c37068ed82ac04abde7bc021a6e44fd53b1a2 /crates/libeditor
parent1d95f34e9a1b2b7cebf44e38238b50a693d3394b (diff)
rename
Diffstat (limited to 'crates/libeditor')
-rw-r--r--crates/libeditor/src/symbols.rs14
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/libeditor/src/symbols.rs b/crates/libeditor/src/symbols.rs
index 03f2313f7..f1d5222f4 100644
--- a/crates/libeditor/src/symbols.rs
+++ b/crates/libeditor/src/symbols.rs
@@ -59,13 +59,13 @@ fn to_symbol(node: SyntaxNodeRef) -> Option<FileSymbol> {
59 } 59 }
60 60
61 visitor() 61 visitor()
62 .visit(decl::<ast::Function<_>>) 62 .visit(decl::<ast::FnDef<_>>)
63 .visit(decl::<ast::Struct<_>>) 63 .visit(decl::<ast::StructDef<_>>)
64 .visit(decl::<ast::Enum<_>>) 64 .visit(decl::<ast::EnumDef<_>>)
65 .visit(decl::<ast::Trait<_>>) 65 .visit(decl::<ast::TraitDef<_>>)
66 .visit(decl::<ast::Module<_>>) 66 .visit(decl::<ast::Module<_>>)
67 .visit(decl::<ast::TypeItem<_>>) 67 .visit(decl::<ast::TypeDef<_>>)
68 .visit(decl::<ast::ConstItem<_>>) 68 .visit(decl::<ast::ConstDef<_>>)
69 .visit(decl::<ast::StaticItem<_>>) 69 .visit(decl::<ast::StaticDef<_>>)
70 .accept(node)? 70 .accept(node)?
71} 71}