Skip to content

Commit 2d55fad

Browse files
committed
cargo fmt
1 parent d6bd62b commit 2d55fad

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/oxide_controller/config.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,10 @@ mod test {
146146
if let LoadError::Parse(error) = error {
147147
assert_eq!(error.line_col(), Some((0, 5)));
148148
} else {
149-
panic!("Got an unexpected error, expected Parse but got {:?}", error);
149+
panic!(
150+
"Got an unexpected error, expected Parse but got {:?}",
151+
error
152+
);
150153
}
151154
}
152155

@@ -162,7 +165,10 @@ mod test {
162165
if let LoadError::Parse(error) = error {
163166
assert_eq!(error.line_col(), None);
164167
} else {
165-
panic!("Got an unexpected error, expected Parse but got {:?}", error);
168+
panic!(
169+
"Got an unexpected error, expected Parse but got {:?}",
170+
error
171+
);
166172
}
167173
}
168174

0 commit comments

Comments
 (0)