From 53e48b4369b91c63a81216a0b05aeaf311ca525c Mon Sep 17 00:00:00 2001 From: esposm03 <36164633+esposm03@users.noreply.github.com> Date: Sun, 10 Dec 2023 13:56:31 +0100 Subject: [PATCH] Fix clippy lint --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 63fe7df..76ad2b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,7 +57,7 @@ impl CursorThemeIml { let mut data = Vec::new(); // Find directories where this theme is presented. - for mut path in search_paths.to_owned() { + for mut path in search_paths.iter().cloned() { path.push(name); if path.is_dir() { let data_dir = path.clone();