Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7122aba

Browse files
committedOct 14, 2022
more dupe word typos
1 parent 4891d57 commit 7122aba

File tree

47 files changed

+68
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+68
-72
lines changed
 

‎compiler/rustc_borrowck/src/universal_regions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ impl<'cx, 'tcx> UniversalRegionsBuilder<'cx, 'tcx> {
414414

415415
let typeck_root_def_id = self.infcx.tcx.typeck_root_def_id(self.mir_def.did.to_def_id());
416416

417-
// If this is is a 'root' body (not a closure/generator/inline const), then
417+
// If this is a 'root' body (not a closure/generator/inline const), then
418418
// there are no extern regions, so the local regions start at the same
419419
// position as the (empty) sub-list of extern regions
420420
let first_local_index = if self.mir_def.did.to_def_id() == typeck_root_def_id {

‎compiler/rustc_codegen_cranelift/build_system/rustc_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ pub(crate) fn get_file_name(crate_name: &str, crate_type: &str) -> String {
6565
}
6666

6767
/// Similar to `get_file_name`, but converts any dashes (`-`) in the `crate_name` to
68-
/// underscores (`_`). This is specially made for the the rustc and cargo wrappers
68+
/// underscores (`_`). This is specially made for the rustc and cargo wrappers
6969
/// which have a dash in the name, and that is not allowed in a crate name.
7070
pub(crate) fn get_wrapper_file_name(crate_name: &str, crate_type: &str) -> String {
7171
let crate_name = crate_name.replace('-', "_");

0 commit comments

Comments
 (0)
Please sign in to comment.