@@ -790,9 +790,9 @@ impl RustDocFingerprint {
790
790
/// `Workspace`'s docs was the same as the one is currently being used in this `cargo doc`
791
791
/// call.
792
792
///
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
794
794
/// 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
796
796
/// any versioning.
797
797
pub fn check_rustdoc_fingerprint < ' a , ' cfg > ( cx : & Context < ' a , ' cfg > ) -> CargoResult < ( ) > {
798
798
let actual_rustdoc_target_data = RustDocFingerprint {
@@ -822,11 +822,11 @@ impl RustDocFingerprint {
822
822
}
823
823
}
824
824
// 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
826
826
// `doc` directory forcing the recompilation of the docs. If the directory doesn't
827
827
// exists neither, we simply do nothing and continue.
828
828
Err ( _) => {
829
- // We don't care if this suceeds as explained above.
829
+ // We don't care if this succeeds as explained above.
830
830
let _ = Self :: remove_doc_dirs ( & doc_dirs) ;
831
831
actual_rustdoc_target_data. write ( cx) ?
832
832
}
0 commit comments