aboutsummaryrefslogtreecommitdiff
path: root/src/browser.rs
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-04-28 18:00:26 +0530
committerkrolxon <krolyxon@tutanota.com>2024-04-28 18:00:26 +0530
commit7eac9cfbc66c272edaf8c5207b4beaca247d5209 (patch)
tree7abeb0d67af880e8ba2db3f8a37ee8c848cdceda /src/browser.rs
parent6e631a0520053c7d3435a193f61e89e695c91f08 (diff)
minor changes
Diffstat (limited to 'src/browser.rs')
-rwxr-xr-xsrc/browser.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/browser.rs b/src/browser.rs
index 9add421..895eaa0 100755
--- a/src/browser.rs
+++ b/src/browser.rs
@@ -1,8 +1,4 @@
-use crate::{
- app::{App, AppResult},
- connection::Connection,
- song::RSong,
-};
+use crate::{app::AppResult, connection::Connection, song::RSong};
#[derive(Debug)]
pub struct FileBrowser {
@@ -76,8 +72,6 @@ impl FileBrowser {
}
}
-
-
pub fn handle_go_back(&mut self, conn: &mut Connection) -> AppResult<()> {
if self.prev_path != "." {
let r = self.path.rfind("/").unwrap();