mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-16 20:50:25 +00:00
Clippy
This commit is contained in:
parent
46e30f081b
commit
883b68ce66
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ fn main() -> Result<()> {
|
|||
};
|
||||
|
||||
let checker = Checker::try_new(env::var("GITHUB_TOKEN")?)?;
|
||||
let md = fs::read_to_string(args.input.unwrap_or("README.md".into()))?;
|
||||
let md = fs::read_to_string(args.input.unwrap_or_else(|| "README.md".into()))?;
|
||||
let links = extract_links(&md);
|
||||
|
||||
let mut errorcode = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue