aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/descriptors/module
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-11-07 15:38:43 +0000
committerAleksey Kladov <[email protected]>2018-11-07 15:42:36 +0000
commit2ed1514df3f8837ccebdbbfdadbe89e79b4a4365 (patch)
tree82af1d514d9865db4e2cc163a7ffa601a7c294db /crates/ra_analysis/src/descriptors/module
parentf8b36bbc3b968754b71844d942286e81415627b8 (diff)
rename ROOT -> SOURCE_FILE
Diffstat (limited to 'crates/ra_analysis/src/descriptors/module')
-rw-r--r--crates/ra_analysis/src/descriptors/module/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors/module/mod.rs b/crates/ra_analysis/src/descriptors/module/mod.rs
index 03330240d..5301f44ab 100644
--- a/crates/ra_analysis/src/descriptors/module/mod.rs
+++ b/crates/ra_analysis/src/descriptors/module/mod.rs
@@ -52,7 +52,7 @@ pub(crate) enum ModuleSource {
52/// An owned syntax node for a module. Unlike `ModuleSource`, 52/// An owned syntax node for a module. Unlike `ModuleSource`,
53/// this holds onto the AST for the whole file. 53/// this holds onto the AST for the whole file.
54enum ModuleSourceNode { 54enum ModuleSourceNode {
55 Root(ast::RootNode), 55 Root(ast::SourceFileNode),
56 Inline(ast::ModuleNode), 56 Inline(ast::ModuleNode),
57} 57}
58 58