mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
More formatting fixes
This commit is contained in:
@@ -1562,7 +1562,7 @@ pub fn borrow_region_constraints(&self) -> RefMut<'_, RegionConstraintCollector<
|
||||
}
|
||||
|
||||
/// Clears the selection, evaluation, and projection cachesThis is useful when
|
||||
/// repeatedly attemping to select an Obligation while chagning only
|
||||
/// repeatedly attemping to select an Obligation while changing only
|
||||
/// its ParamEnv, since FulfillmentContext doesn't use 'probe'
|
||||
pub fn clear_caches(&self) {
|
||||
self.selection_cache.clear();
|
||||
|
||||
@@ -3868,7 +3868,6 @@ pub fn path_to_def_local(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
pub fn path_to_def(tcx: &TyCtxt, path: &[&str]) -> Option<DefId> {
|
||||
@@ -3991,7 +3990,7 @@ fn from(bound: TyParamBound) -> Self {
|
||||
.collect()),
|
||||
t.generic_params,
|
||||
mod_)
|
||||
},
|
||||
}
|
||||
_ => panic!("Unexpected bound {:?}", bound),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user