Skip to content

Commit 0bfbe24

Browse files
committed
More formatting fixes
1 parent 1531fbe commit 0bfbe24

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
@@ -3868,7 +3868,6 @@ pub fn path_to_def_local(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
38683868
}
38693869
}
38703870
}
3871-
38723871
}
38733872

38743873
pub fn path_to_def(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
@@ -3991,7 +3990,7 @@ impl From<TyParamBound> for SimpleBound {
39913990
.collect()),
39923991
t.generic_params,
39933992
mod_)
3994-
},
3993+
}
39953994
_ => panic!("Unexpected bound {:?}", bound),
39963995
}
39973996
}

0 commit comments

Comments
 (0)