Skip to content

Commit

Permalink
Review feedback: add linebreak and reindent to make braces match better.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Oct 17, 2016
1 parent 818ac08 commit 85d2e4d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/librustc/infer/error_reporting.rs
Expand Up @@ -1295,9 +1295,10 @@ impl<'a, 'gcx, 'tcx> Rebuilder<'a, 'gcx, 'tcx> {
-> hir::Generics {
let mut lifetimes = Vec::new();
for lt in add {
lifetimes.push(hir::LifetimeDef { lifetime: *lt,
bounds: hir::HirVec::new(),
pure_wrt_drop: false,
lifetimes.push(hir::LifetimeDef {
lifetime: *lt,
bounds: hir::HirVec::new(),
pure_wrt_drop: false,
});
}
for lt in &generics.lifetimes {
Expand Down

0 comments on commit 85d2e4d

Please sign in to comment.