Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
M3DZIK committed Apr 11, 2024
1 parent af0864d commit 56cbd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imgur/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl ImgurClient {
image = BASE64_STANDARD.encode(bytes)
}
// validate url adress
else if Url::parse(&path).is_err() {
else if Url::parse(path).is_err() {
Err(Error::InvalidUrlOrFile(path.to_string()))?;
}

Expand Down

0 comments on commit 56cbd96

Please sign in to comment.