Fixup formatting of tests and source
This commit is contained in:
parent
a4cdb68925
commit
486f8fd8e7
14 changed files with 65 additions and 57 deletions
|
|
@ -72,7 +72,8 @@ pub fn rewrite_string<'a>(
|
|||
// succeed.
|
||||
let mut max_chars = shape
|
||||
.width
|
||||
.checked_sub(fmt.opener.len() + ender_length + 1)? + 1;
|
||||
.checked_sub(fmt.opener.len() + ender_length + 1)?
|
||||
+ 1;
|
||||
|
||||
// Snip a line at a time from `orig` until it is used up. Push the snippet
|
||||
// onto result.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue