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

Commit 6e901c8

Browse files
committed
Format and update test
1 parent d7e1f00 commit 6e901c8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/lib.rs

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

tests/target/enum.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,7 @@ pub enum QlError {
256256
// (kind, input, expected)
257257
#[fail(
258258
display = "Could not find {}: Found: {}, expected: {:?}",
259-
0,
260-
1,
261-
2
259+
0, 1, 2
262260
)]
263261
ResolveError(&'static str, String, Option<String>),
264262
}

0 commit comments

Comments
 (0)