From 10017313a5275afb38ea614e44df7e055ccd78e7 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Sat, 15 Feb 2025 23:06:05 +0800 Subject: [PATCH] .. --- yazi-fs/src/mounts/linux.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/yazi-fs/src/mounts/linux.rs b/yazi-fs/src/mounts/linux.rs index 25abf674..89b1c29d 100644 --- a/yazi-fs/src/mounts/linux.rs +++ b/yazi-fs/src/mounts/linux.rs @@ -100,7 +100,6 @@ impl Partitions { for (s, b) in &mut removable { match std::fs::read(format!("/sys/block/{}/removable", s.to_string_lossy())) .unwrap_or_default() - .as_slice() .trim_ascii() { b"0" => *b = Some(false),