Restore a visual alignment mode for block comments
This commit is contained in:
parent
402f322940
commit
125c729e05
3 changed files with 33 additions and 7 deletions
|
@ -315,7 +315,7 @@ pub trait PrintState<'a>: std::ops::Deref<Target = pp::Printer> + std::ops::Dere
|
|||
self.word(cmnt.lines[0].clone());
|
||||
self.hardbreak()
|
||||
} else {
|
||||
self.ibox(0);
|
||||
self.visual_align();
|
||||
for line in &cmnt.lines {
|
||||
if !line.is_empty() {
|
||||
self.word(line.clone());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue