Skip to content

Commit a998760

Browse files
committed
fmt
1 parent c6c665a commit a998760

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/webserver/database/error_highlighting.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,13 @@ impl std::fmt::Display for NiceDatabaseError {
4040
if start_line == end_line {
4141
write!(f, "{}: line {}", self.source_file.display(), start_line)?;
4242
} else {
43-
write!(f, "{}: lines {} to {}", self.source_file.display(), start_line, end_line)?;
43+
write!(
44+
f,
45+
"{}: lines {} to {}",
46+
self.source_file.display(),
47+
start_line,
48+
end_line
49+
)?;
4450
}
4551
}
4652
break;

0 commit comments

Comments
 (0)