Skip to content

Commit

Permalink
(fix) Keep clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
rrw-zilliqa committed May 22, 2024
1 parent 59c4d0e commit e840aee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docgen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn main() -> Result<()> {
let here = String::from(&args[1]);

// Set NO_CHECKOUT to skip the checkout steps - this allows you to do debugging with symlinks or similar.
let checkout = !std::env::var("NO_CHECKOUT").is_ok();
let checkout = std::env::var("NO_CHECKOUT").is_err();

// Find the zq2 versions that we need to collect.

Expand Down Expand Up @@ -100,7 +100,7 @@ async fn main() -> Result<()> {
.to_str()
.ok_or(anyhow!("unprintable index file path"))?
.to_string();
let key_prefix = format!("nav");
let key_prefix = "nav".to_string();
println!(" Generating documentation from {refspec} into {target_dir_str}...");
let z2_dir = zq2_checkout_dir.clone();
println!(" Running {z2_dir:?}/z2 .. ");
Expand Down

0 comments on commit e840aee

Please sign in to comment.