summaryrefslogtreecommitdiffstats
path: root/src/filesystem.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem.rs')
-rw-r--r--src/filesystem.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filesystem.rs b/src/filesystem.rs
index 83e55c9..2a642ed 100644
--- a/src/filesystem.rs
+++ b/src/filesystem.rs
@@ -128,7 +128,7 @@ pub fn strip_current_dir(path: &Path) -> &Path {
pub fn default_path_separator() -> Option<String> {
if cfg!(windows) {
let msystem = env::var("MSYSTEM").ok()?;
- if !msystem.as_str().is_empty() {
+ if !msystem.is_empty() {
return Some("/".to_owned());
}
}