Skip to content

Commit

Permalink
Use consistent verb form in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Mar 25, 2024
1 parent 3c2cf0e commit 32c1170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn rerun_env(var: &str) {
println!("cargo:rerun-if-env-changed={}", var);
}

/// Create a new `AutoCfg` instance.
/// Creates a new `AutoCfg` instance.
///
/// # Panics
///
Expand All @@ -129,7 +129,7 @@ pub fn new() -> AutoCfg {
}

impl AutoCfg {
/// Create a new `AutoCfg` instance.
/// Creates a new `AutoCfg` instance.
///
/// # Common errors
///
Expand All @@ -144,7 +144,7 @@ impl AutoCfg {
}
}

/// Create a new `AutoCfg` instance with the specified output directory.
/// Creates a new `AutoCfg` instance with the specified output directory.
///
/// # Common errors
///
Expand Down Expand Up @@ -215,7 +215,7 @@ impl AutoCfg {
self.no_std = no_std;
}

/// Test whether the current `rustc` reports a version greater than
/// Tests whether the current `rustc` reports a version greater than
/// or equal to "`major`.`minor`".
pub fn probe_rustc_version(&self, major: usize, minor: usize) -> bool {
self.rustc_version >= Version::new(major, minor, 0)
Expand Down

0 comments on commit 32c1170

Please sign in to comment.