diff options
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r-- | src/shell/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell/mod.rs b/src/shell/mod.rs index 2b8c849..2e28ddb 100644 --- a/src/shell/mod.rs +++ b/src/shell/mod.rs @@ -582,8 +582,8 @@ impl Shell { fn parse( &self, cmd: &str, - ) -> Result<crate::parse::Commands, crate::parse::Error> { - let ast = crate::parse::Commands::parse(cmd)?; + ) -> Result<crate::parse::ast::Commands, crate::parse::Error> { + let ast = crate::parse::ast::Commands::parse(cmd)?; // todo: interpolate Ok(ast) } |