Unbreak 'rustc --help'
This commit is contained in:
parent
e549b80e3c
commit
eac2f3b93e
2 changed files with 3 additions and 3 deletions
|
@ -726,7 +726,8 @@ pub fn each_split_within<'a>(ss: &'a str,
|
|||
|
||||
(B, Cr, UnderLim) => { B }
|
||||
(B, Cr, OverLim) if (i - last_start + 1) > lim
|
||||
=> { fail!(~"word longer than limit!") }
|
||||
=> fail!(fmt!("word starting with %? longer than limit!",
|
||||
self::slice(ss, last_start, i + 1))),
|
||||
(B, Cr, OverLim) => { slice(); slice_start = last_start; B }
|
||||
(B, Ws, UnderLim) => { last_end = i; C }
|
||||
(B, Ws, OverLim) => { last_end = i; slice(); A }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue