mirror of
https://github.com/MedzikUser/imgurs
synced 2024-08-15 00:03:19 +00:00
Fix clippy error
This commit is contained in:
parent
af0864d272
commit
56cbd96053
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ impl ImgurClient {
|
||||||
image = BASE64_STANDARD.encode(bytes)
|
image = BASE64_STANDARD.encode(bytes)
|
||||||
}
|
}
|
||||||
// validate url adress
|
// validate url adress
|
||||||
else if Url::parse(&path).is_err() {
|
else if Url::parse(path).is_err() {
|
||||||
Err(Error::InvalidUrlOrFile(path.to_string()))?;
|
Err(Error::InvalidUrlOrFile(path.to_string()))?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue