diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-01-07 23:42:32 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-01-08 00:00:57 -0500 |
commit | 9dd1d992bd2344d8824e69d8f47c9009a6caf021 (patch) | |
tree | a2b3682c41a182bbb3b031e5c458ff93c460e53f /src/shell/mod.rs | |
parent | a2d265ce727caf4e8cd4bad034ef8ae830346fc3 (diff) | |
download | nbsh-9dd1d992bd2344d8824e69d8f47c9009a6caf021.tar.gz nbsh-9dd1d992bd2344d8824e69d8f47c9009a6caf021.zip |
large refactor
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) } |