Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 15717be

Browse files
authored
Merge pull request rust-lang#3087 from scampi/lineoverflow
fixed display message for the LineOverflow error
2 parents 3c9ec96 + 7003276 commit 15717be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pub enum ErrorKind {
100100
#[fail(
101101
display = "line formatted, but exceeded maximum width \
102102
(maximum: {} (see `max_width` option), found: {})",
103-
_0, _1
103+
_1, _0
104104
)]
105105
LineOverflow(usize, usize),
106106
/// Line ends in whitespace.

0 commit comments

Comments
 (0)