Skip to content

Commit

Permalink
Fix typos (#73)
Browse files Browse the repository at this point in the history
* util: fix typo

* lib: fix function reference

* lib: fix typo
  • Loading branch information
mathstuf authored Oct 31, 2024
1 parent e162357 commit 9270bd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@
//!
//! Continuous Integration platforms like `Travis` and `AppVeyor` will
//! do shallow clones, causing `libgit2` to be unable to get a meaningful
//! result. `GIT_VERSION` and `GIT_DIRTY` will therefor always be `None` if
//! result. `GIT_VERSION` and `GIT_DIRTY` will therefore always be `None` if
//! a CI-platform is detected.
//! ```
//! /// If the crate was compiled from within a git-repository,
Expand Down Expand Up @@ -401,7 +401,7 @@ pub fn write_built_file_with_opts(
Ok(())
}

/// A shorthand for calling `write_built_file()` with `CARGO_MANIFEST_DIR` and
/// A shorthand for calling `write_built_file_with_opts()` with `CARGO_MANIFEST_DIR` and
/// `[OUT_DIR]/built.rs`.
///
/// # Errors
Expand Down
2 changes: 1 addition & 1 deletion src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ where
name_and_versions.into_iter().map(parse_version)
}

/// Detect execution on various Continiuous Integration platforms.
/// Detect execution on various Continuous Integration platforms.
///
/// CI-platforms are detected by the presence of known environment variables.
/// This allows to detect specific CI-platform (like `GitLab`); various
Expand Down

0 comments on commit 9270bd2

Please sign in to comment.