1
Fork 0

Change pp indent to signed to allow negative indents

This commit is contained in:
David Tolnay 2022-01-21 14:15:14 -08:00
parent 0b7e1baa58
commit 8bdf08fbed
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
4 changed files with 9 additions and 10 deletions

View file

@ -139,7 +139,7 @@ impl<'a> PrintState<'a> for State<'a> {
}
}
pub const INDENT_UNIT: usize = 4;
pub const INDENT_UNIT: isize = 4;
/// Requires you to pass an input filename and reader so that
/// it can scan the input text for comments to copy forward.