Skip to content

Commit

Permalink
Avoid warn(noop_method_call) by removing redundant calls to clone().
Browse files Browse the repository at this point in the history
  • Loading branch information
wahn committed Oct 8, 2023
1 parent 1d9634a commit 473c23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/parse_blend_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,7 @@ fn main() -> std::io::Result<()> {
image_path.strip_prefix("//")
{
let canonicalized = parent
.join(relative.clone())
.join(relative)
.canonicalize()
.unwrap();
println!("{:?}", canonicalized);
Expand All @@ -2582,7 +2582,7 @@ fn main() -> std::io::Result<()> {
image_path.strip_prefix("//")
{
let canonicalized = parent
.join(relative.clone())
.join(relative)
.canonicalize()
.unwrap();
println!("{:?}", canonicalized);
Expand Down

0 comments on commit 473c23a

Please sign in to comment.