diff options
| author | todaymoon <csgcgl@foxmail.com> | 2025-03-26 15:36:08 +0800 |
|---|---|---|
| committer | todaymoon <csgcgl@foxmail.com> | 2025-03-26 17:40:11 +0800 |
| commit | a8bfafe92962e6dcd1776ac2d2eb2e85072001df (patch) | |
| tree | 6a59237d5693232c47910a65c8c36df850d363a9 /rustc_tools_util | |
| parent | 939d5f93eb62f3237f4b35fbaba1226b3340b3e6 (diff) | |
| download | rust-a8bfafe92962e6dcd1776ac2d2eb2e85072001df.tar.gz rust-a8bfafe92962e6dcd1776ac2d2eb2e85072001df.zip | |
chore: fix some comments
Signed-off-by: todaymoon <csgcgl@foxmail.com>
Diffstat (limited to 'rustc_tools_util')
| -rw-r--r-- | rustc_tools_util/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rustc_tools_util/src/lib.rs b/rustc_tools_util/src/lib.rs index 423154a69fa..b45edf23455 100644 --- a/rustc_tools_util/src/lib.rs +++ b/rustc_tools_util/src/lib.rs @@ -121,7 +121,7 @@ fn get_output(cmd: &str, args: &[&str]) -> Option<String> { pub fn rerun_if_git_changes() -> Option<()> { // Make sure we get rerun when the git commit changes. // We want to watch two files: HEAD, which tracks which branch we are on, - // and the file for that branch that tracks which commit is is on. + // and the file for that branch that tracks which commit is checked out. // First, find the `HEAD` file. This should work even with worktrees. let git_head_file = PathBuf::from(get_output("git", &["rev-parse", "--git-path", "HEAD"])?); |
