Skip to content

Commit c0434e2

Browse files
committed
pacify the mercilous tidy
1 parent d4d74da commit c0434e2

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

src/librustc/infer/region_inference/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,9 @@ impl<'a, 'gcx, 'tcx> RegionVarBindings<'a, 'gcx, 'tcx> {
10531053
}
10541054
}
10551055

1056-
fn expansion(&self, region_rels: &RegionRelations<'a, 'gcx, 'tcx>, var_values: &mut [VarValue<'tcx>]) {
1056+
fn expansion(&self,
1057+
region_rels: &RegionRelations<'a, 'gcx, 'tcx>,
1058+
var_values: &mut [VarValue<'tcx>]) {
10571059
self.iterate_until_fixed_point("Expansion", |constraint, origin| {
10581060
debug!("expansion: constraint={:?} origin={:?}",
10591061
constraint, origin);

src/librustc/middle/mem_categorization.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,9 @@ impl<'a, 'gcx, 'tcx> MemCategorizationContext<'a, 'gcx, 'tcx> {
408408
pub fn new(infcx: &'a InferCtxt<'a, 'gcx, 'tcx>,
409409
region_maps: &'a RegionMaps<'tcx>)
410410
-> MemCategorizationContext<'a, 'gcx, 'tcx> {
411-
MemCategorizationContext::with_options(infcx, region_maps, MemCategorizationOptions::default())
411+
MemCategorizationContext::with_options(infcx,
412+
region_maps,
413+
MemCategorizationOptions::default())
412414
}
413415

414416
pub fn with_options(infcx: &'a InferCtxt<'a, 'gcx, 'tcx>,

src/librustc_mir/build/scope.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,11 @@ impl<'a, 'gcx, 'tcx> Builder<'a, 'gcx, 'tcx> {
270270

271271
/// Convenience wrapper that pushes a scope and then executes `f`
272272
/// to build its contents, popping the scope afterwards.
273-
pub fn in_scope<F, R>(&mut self, extent: CodeExtent<'tcx>, mut block: BasicBlock, f: F) -> BlockAnd<R>
273+
pub fn in_scope<F, R>(&mut self,
274+
extent: CodeExtent<'tcx>,
275+
mut block: BasicBlock,
276+
f: F)
277+
-> BlockAnd<R>
274278
where F: FnOnce(&mut Builder<'a, 'gcx, 'tcx>) -> BlockAnd<R>
275279
{
276280
debug!("in_scope(extent={:?}, block={:?})", extent, block);

0 commit comments

Comments
 (0)