summaryrefslogtreecommitdiffstats
path: root/src/runner
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-01-09 22:47:25 -0500
committerJesse Luehrs <doy@tozt.net>2022-01-09 22:47:25 -0500
commit3c30ee54cd8dc8c9bf43beb54ee1fe0292c07c90 (patch)
tree4abda6dc620620b860e6990cf7e4651fac74619b /src/runner
parentcba75be9c673b846ad0c4f6f5f2e8461056582ad (diff)
downloadnbsh-3c30ee54cd8dc8c9bf43beb54ee1fe0292c07c90.tar.gz
nbsh-3c30ee54cd8dc8c9bf43beb54ee1fe0292c07c90.zip
rename
Diffstat (limited to 'src/runner')
-rw-r--r--src/runner/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/mod.rs b/src/runner/mod.rs
index 3d4d025..956afde 100644
--- a/src/runner/mod.rs
+++ b/src/runner/mod.rs
@@ -68,7 +68,7 @@ enum Frame {
For(bool, usize, Vec<String>),
}
-pub async fn run() -> anyhow::Result<i32> {
+pub async fn main() -> anyhow::Result<i32> {
// Safety: we don't create File instances for or read/write data on fds
// 3 or 4 anywhere else
let shell_read = unsafe { async_std::fs::File::from_raw_fd(3) };