diff options
Diffstat (limited to 'crates/ra_analysis/src/descriptors/module')
-rw-r--r-- | crates/ra_analysis/src/descriptors/module/mod.rs | 2 |
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. |
54 | enum ModuleSourceNode { | 54 | enum ModuleSourceNode { |
55 | Root(ast::RootNode), | 55 | Root(ast::SourceFileNode), |
56 | Inline(ast::ModuleNode), | 56 | Inline(ast::ModuleNode), |
57 | } | 57 | } |
58 | 58 | ||