Skip to content

Commit

Permalink
fix(Storage): Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmarchi committed Mar 28, 2023
1 parent d729bb2 commit 06bb28e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/layouts/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ async fn drag_and_drop_function(

pub fn decoded_pathbufs(paths: Vec<PathBuf>) -> Vec<PathBuf> {
#[allow(unused_mut)]
let mut paths = paths.clone();
let mut paths = paths;
#[cfg(target_os = "linux")]
{
let decode = |path: &Path| path.as_os_str().to_string_lossy().replace("%20", " ");
Expand Down

0 comments on commit 06bb28e

Please sign in to comment.