Rollup merge of #30539 - erickt:whitespace, r=sfackler
This commit is contained in:
commit
2aade14bd9
1 changed files with 2 additions and 2 deletions
|
@ -856,8 +856,8 @@ impl<'a> State<'a> {
|
||||||
indented: usize) -> io::Result<()> {
|
indented: usize) -> io::Result<()> {
|
||||||
self.bclose_maybe_open(span, indented, true)
|
self.bclose_maybe_open(span, indented, true)
|
||||||
}
|
}
|
||||||
pub fn bclose_maybe_open (&mut self, span: codemap::Span,
|
pub fn bclose_maybe_open(&mut self, span: codemap::Span,
|
||||||
indented: usize, close_box: bool) -> io::Result<()> {
|
indented: usize, close_box: bool) -> io::Result<()> {
|
||||||
try!(self.maybe_print_comment(span.hi));
|
try!(self.maybe_print_comment(span.hi));
|
||||||
try!(self.break_offset_if_not_bol(1, -(indented as isize)));
|
try!(self.break_offset_if_not_bol(1, -(indented as isize)));
|
||||||
try!(word(&mut self.s, "}"));
|
try!(word(&mut self.s, "}"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue