Skip to content

Commit 39bff03

Browse files
committed
src/lib/mod.rs:use crate::utils::pwd::pwd
1 parent 1341304 commit 39bff03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ pub fn fetch_by_id(url: &str, id: IdHex) -> Option<Event> {
399399
}
400400
}
401401

402+
use crate::utils::pwd::pwd;
402403
pub fn get_pwd() -> Result<String, &'static str> {
403404
let mut no_nl = pwd().unwrap().to_string();
404405
no_nl.retain(|c| c != '\n');

0 commit comments

Comments
 (0)