fixed display message for the LineOverflow error

This commit is contained in:
Stéphane Campinas 2018-10-11 09:05:33 +02:00
parent 3c9ec96094
commit 7003276b73
No known key found for this signature in database
GPG Key ID: 6D5620D908210133

View File

@ -100,7 +100,7 @@ pub enum ErrorKind {
#[fail(
display = "line formatted, but exceeded maximum width \
(maximum: {} (see `max_width` option), found: {})",
_0, _1
_1, _0
)]
LineOverflow(usize, usize),
/// Line ends in whitespace.