remove duplicate duplicate words

This commit is contained in:
Eitan Adler 2016-09-17 23:36:59 -07:00
parent 9c3cf06b29
commit fad6a09c94
3 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ pub fn local_index(&self, lvalue: &Lvalue<'tcx>) -> Option<Local> {
Some(Local::new(idx))
}
/// Counts the number of locals, such that that local_index
/// Counts the number of locals, such that local_index
/// will always return an index smaller than this count.
pub fn count_locals(&self) -> usize {
self.arg_decls.len() +

View File

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

View File

@ -153,7 +153,7 @@
//! The collection algorithm handles this more or less transparently. If it is
//! about to create a translation item for something with an external `DefId`,
//! it will take a look if the MIR for that item is available, and if so just
//! proceed normally. If the MIR is not available, it assumes that that item is
//! proceed normally. If the MIR is not available, it assumes that the item is
//! just linked to and no node is created; which is exactly what we want, since
//! no machine code should be generated in the current crate for such an item.
//!