Skip to content

Commit 6963b37

Browse files
EliahKaganByron
authored andcommitted
Copyedit create_archive_if_not_on_ci comments
1 parent 7c2af44 commit 6963b37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/tools/src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -642,12 +642,12 @@ fn is_lfs_pointer_file(path: &Path) -> bool {
642642
.map_or(false, |_| buf.starts_with(PREFIX))
643643
}
644644

645-
/// The `script_identity` will be baked into the soon to be created `archive` as it identitifies the script
645+
/// The `script_identity` will be baked into the soon to be created `archive` as it identifies the script
646646
/// that created the contents of `source_dir`.
647647
fn create_archive_if_not_on_ci(source_dir: &Path, archive: &Path, script_identity: u32) -> std::io::Result<()> {
648-
// on windows, we fail to remove the meta_dir and can't do anything about it, which means tests will see more
649-
// in the directory than they should which makes them fail. It's probably a bad idea to generate archives on windows
650-
// anyway. Either unix is portable OR no archive is created anywhere. This also means that windows users can't create
648+
// On Windows, we fail to remove the meta_dir and can't do anything about it, which means tests will see more
649+
// in the directory than they should which makes them fail. It's probably a bad idea to generate archives on Windows
650+
// anyway. Either Unix is portable OR no archive is created anywhere. This also means that Windows users can't create
651651
// archives, but that's not a deal-breaker.
652652
if cfg!(windows) || is_ci::cached() || is_excluded(archive) {
653653
return Ok(());

0 commit comments

Comments
 (0)