Skip to content

Commit 764a830

Browse files
committed
More formatting fixes
1 parent 4d8b73d commit 764a830

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/librustc/infer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ impl<'a, 'gcx, 'tcx> InferCtxt<'a, 'gcx, 'tcx> {
15621562
}
15631563

15641564
/// Clears the selection, evaluation, and projection cachesThis is useful when
1565-
/// repeatedly attemping to select an Obligation while chagning only
1565+
/// repeatedly attemping to select an Obligation while changing only
15661566
/// its ParamEnv, since FulfillmentContext doesn't use 'probe'
15671567
pub fn clear_caches(&self) {
15681568
self.selection_cache.clear();

src/librustdoc/clean/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3857,7 +3857,6 @@ pub fn path_to_def_local(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
38573857
}
38583858
}
38593859
}
3860-
38613860
}
38623861

38633862
pub fn path_to_def(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
@@ -3980,7 +3979,7 @@ impl From<TyParamBound> for SimpleBound {
39803979
.collect()),
39813980
t.generic_params,
39823981
mod_)
3983-
},
3982+
}
39843983
_ => panic!("Unexpected bound {:?}", bound),
39853984
}
39863985
}

0 commit comments

Comments
 (0)