Skip to content

Commit

Permalink
Update Cargo.toml to set minimum Rust to 1.66 (#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon authored Jun 5, 2024
1 parent 3cac8d2 commit 05d4567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ license = "MIT"
keywords = ["Python"]
categories = ["command-line-utilities"]
edition = "2021"
rust-version = "1.58"
rust-version = "1.66"

[badges]
maintenance = { status = "actively-developed" }
Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ fn venv_path_search() -> Option<PathBuf> {
let printable_venv_path = venv_path.display();
log::info!("Checking {printable_venv_path}");
// bool::then_some() makes more sense, but still experimental.
venv_path.is_file().then(|| venv_path)
venv_path.is_file().then_some(venv_path)
})
}
}
Expand Down

0 comments on commit 05d4567

Please sign in to comment.