Skip to content

Commit fad6a09

Browse files
committed
remove duplicate duplicate words
1 parent 9c3cf06 commit fad6a09

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librustc/mir/repr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl<'tcx> Mir<'tcx> {
180180
Some(Local::new(idx))
181181
}
182182

183-
/// Counts the number of locals, such that that local_index
183+
/// Counts the number of locals, such that local_index
184184
/// will always return an index smaller than this count.
185185
pub fn count_locals(&self) -> usize {
186186
self.arg_decls.len() +

src/librustc/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2913,7 +2913,7 @@ impl<'a, 'gcx, 'tcx> TyCtxt<'a, 'gcx, 'tcx> {
29132913

29142914
/// See `ParameterEnvironment` struct def'n for details.
29152915
/// If you were using `free_id: NodeId`, you might try `self.region_maps.item_extent(free_id)`
2916-
/// for the `free_id_outlive` parameter. (But note that that is not always quite right.)
2916+
/// for the `free_id_outlive` parameter. (But note that is not always quite right.)
29172917
pub fn construct_parameter_environment(self,
29182918
span: Span,
29192919
def_id: DefId,

src/librustc_trans/collector.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
//! The collection algorithm handles this more or less transparently. If it is
154154
//! about to create a translation item for something with an external `DefId`,
155155
//! it will take a look if the MIR for that item is available, and if so just
156-
//! proceed normally. If the MIR is not available, it assumes that that item is
156+
//! proceed normally. If the MIR is not available, it assumes that the item is
157157
//! just linked to and no node is created; which is exactly what we want, since
158158
//! no machine code should be generated in the current crate for such an item.
159159
//!

0 commit comments

Comments
 (0)