Skip to content

Commit be42872

Browse files
committed
Auto merge of #12318 - weihanglo:cargo-ok, r=epage
doc: should be `.cargo-ok` It was a mistake. Should be `.cargo-ok`. `.cargo-lock` is a file lock holding for `target/debug` when compiling stuff.
2 parents 5febbe5 + 0dcf506 commit be42872

File tree

1 file changed

+1
-1
lines changed
  • src/cargo/sources/registry

1 file changed

+1
-1
lines changed

src/cargo/sources/registry/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ impl<'cfg> RegistrySource<'cfg> {
521521
///
522522
/// No action is taken if the source looks like it's already unpacked.
523523
///
524-
/// # History of interruption detection with `.cargo-lock` file
524+
/// # History of interruption detection with `.cargo-ok` file
525525
///
526526
/// Cargo has always included a `.cargo-ok` file ([`PACKAGE_SOURCE_LOCK`])
527527
/// to detect if extraction was interrupted, but it was originally empty.

0 commit comments

Comments
 (0)