Skip to content

refactor: remove redundant clones and improve string handling#13

Merged
duna-feline merged 1 commit into
devfrom
refactor/cleanup
Feb 16, 2026
Merged

refactor: remove redundant clones and improve string handling#13
duna-feline merged 1 commit into
devfrom
refactor/cleanup

Conversation

@duna-feline

Copy link
Copy Markdown
Collaborator

Removed unnecessary .clone() calls and replaced String::from(path.to_string_lossy()) with .into_owned().

…nd remove redundant clone

Use `to_string_lossy().into_owned()` instead of `String::from(path.to_string_lossy())`
for cleaner path-to-string conversions. Remove unnecessary `.clone()` in test code.
@duna-feline
duna-feline merged commit 1e11364 into dev Feb 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant