Skip to content

Commit 7bfb3d0

Browse files
committed
Fix spelling
1 parent 1af0027 commit 7bfb3d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -790,9 +790,9 @@ impl RustDocFingerprint {
790790
/// `Workspace`'s docs was the same as the one is currently being used in this `cargo doc`
791791
/// call.
792792
///
793-
/// In case it's not, it takes care of removig the `doc/` folder as well as overwriting
793+
/// In case it's not, it takes care of removing the `doc/` folder as well as overwriting
794794
/// the rustdoc fingerprint info in order to guarantee that we won't end up with mixed
795-
/// versions of the `js/html/css` files that `Rustc` autogenerates which do not have
795+
/// versions of the `js/html/css` files that `rustdoc` autogenerates which do not have
796796
/// any versioning.
797797
pub fn check_rustdoc_fingerprint<'a, 'cfg>(cx: &Context<'a, 'cfg>) -> CargoResult<()> {
798798
let actual_rustdoc_target_data = RustDocFingerprint {
@@ -822,11 +822,11 @@ impl RustDocFingerprint {
822822
}
823823
}
824824
// If the file does not exist, then we cannot assume that the docs were compiled
825-
// with the actual Rustc instace version. Therefore, we try to remove the
825+
// with the actual Rustc instance version. Therefore, we try to remove the
826826
// `doc` directory forcing the recompilation of the docs. If the directory doesn't
827827
// exists neither, we simply do nothing and continue.
828828
Err(_) => {
829-
// We don't care if this suceeds as explained above.
829+
// We don't care if this succeeds as explained above.
830830
let _ = Self::remove_doc_dirs(&doc_dirs);
831831
actual_rustdoc_target_data.write(cx)?
832832
}

0 commit comments

Comments
 (0)