1
Fork 0

Remove overflow indentation

This commit is contained in:
Marcus Klaas 2015-10-19 21:41:18 +02:00
parent cf0f5ca814
commit 3970748f59
5 changed files with 22 additions and 34 deletions

View file

@ -387,7 +387,6 @@ impl<'a> FmtVisitor<'a> {
codemap: self.codemap,
config: self.config,
block_indent: self.block_indent,
overflow_indent: Indent::empty(),
};
// 1 = ";"
match vp.rewrite(&context, self.config.max_width - offset.width() - 1, offset) {
@ -419,7 +418,6 @@ impl<'a> FmtVisitor<'a> {
codemap: self.codemap,
config: self.config,
block_indent: self.block_indent,
overflow_indent: Indent::empty(),
}
}
}