Fix Clippy warning.
This commit is contained in:
parent
f56ff3e06f
commit
5e82d2ef38
|
@ -169,7 +169,7 @@ fn main() -> Result<()> {
|
||||||
|
|
||||||
if args.verify {
|
if args.verify {
|
||||||
let verify_feed = |url: &str| -> Result<_> {
|
let verify_feed = |url: &str| -> Result<_> {
|
||||||
let response = ureq_agent.get(&url).call()?;
|
let response = ureq_agent.get(url).call()?;
|
||||||
sleep(timeout);
|
sleep(timeout);
|
||||||
Ok((
|
Ok((
|
||||||
response.content_type() == "text/xml",
|
response.content_type() == "text/xml",
|
||||||
|
|
Loading…
Reference in New Issue