summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 9f7e63c..6a51496 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -2,7 +2,6 @@ use std::io::{self, Write};
use std::path::Path;
use std::sync::{Arc, Mutex};
mod path;
-use path::prefresh;
mod poem;
use poem::{read::Readable, recite::Reciteable, Poem};
@@ -24,7 +23,7 @@ use poem::{read::Readable, recite::Reciteable, Poem};
/// ```
fn repl(path: &Vec<&Path>, prompt: &str, at_prompt: &mut Arc<Mutex<bool>>) {
// Initial path refresh on startup
- let mut bins: Vec<String> = prefresh(path);
+ let mut bins: Vec<String> = path::refresh(path);
// Main shell loop
loop {