Skip to content

Commit 08ad9ba

Browse files
committed
docs(snap): Fix bounds on cargo env support
Reported at assert-rs/assert_cmd#310
1 parent 5ab36e8 commit 08ad9ba

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

crates/snapbox/src/cmd.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ impl Command {
2020
/// Look up the path to a cargo-built binary within an integration test
2121
///
2222
/// Cargo support:
23-
/// - `>1.94`: works
23+
/// - `>=1.94`: works
2424
/// - `>=1.91,<=1.93`: works with default `build-dir`
25-
/// - `<=1.92`: works
25+
/// - `<=1.90`: works
2626
///
2727
/// # Panic
2828
///
@@ -866,9 +866,9 @@ pub use crate::cargo_bin;
866866
/// Look up the path to a cargo-built binary within an integration test
867867
///
868868
/// Cargo support:
869-
/// - `>1.94`: works
869+
/// - `>=1.94`: works
870870
/// - `>=1.91,<=1.93`: works with default `build-dir`
871-
/// - `<=1.92`: works
871+
/// - `<=1.90`: works
872872
///
873873
/// # Panic
874874
///
@@ -882,9 +882,9 @@ pub fn cargo_bin(name: &str) -> std::path::PathBuf {
882882
/// Returns `None` if the binary doesn't exist
883883
///
884884
/// Cargo support:
885-
/// - `>1.94`: works
885+
/// - `>=1.94`: works
886886
/// - `>=1.91,<=1.93`: works with default `build-dir`
887-
/// - `<=1.92`: works
887+
/// - `<=1.90`: works
888888
pub fn cargo_bin_opt(name: &str) -> Option<std::path::PathBuf> {
889889
let env_var = format!("{CARGO_BIN_EXE_}{name}");
890890
std::env::var_os(env_var)
@@ -895,7 +895,7 @@ pub fn cargo_bin_opt(name: &str) -> Option<std::path::PathBuf> {
895895
/// Return all the name and path for all binaries built by Cargo
896896
///
897897
/// Cargo support:
898-
/// - `>1.94`: works
898+
/// - `>=1.94`: works
899899
pub fn cargo_bins() -> impl Iterator<Item = (String, std::path::PathBuf)> {
900900
std::env::vars_os()
901901
.filter_map(|(k, v)| {

0 commit comments

Comments
 (0)