summaryrefslogtreecommitdiffstats
path: root/src/shell/mod.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-07 23:42:32 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-08 00:00:57 -0500
commit9dd1d992bd2344d8824e69d8f47c9009a6caf021 (patch)
treea2b3682c41a182bbb3b031e5c458ff93c460e53f /src/shell/mod.rs
parenta2d265ce727caf4e8cd4bad034ef8ae830346fc3 (diff)
downloadnbsh-9dd1d992bd2344d8824e69d8f47c9009a6caf021.tar.gz
nbsh-9dd1d992bd2344d8824e69d8f47c9009a6caf021.zip
large refactor
Diffstat (limited to 'src/shell/mod.rs')
-rw-r--r--src/shell/mod.rs4
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)
}