Skip to content

Commit 7b87ac7

Browse files
committed
Cargo fmt
1 parent 2fa3b8c commit 7b87ac7

File tree

7 files changed

+799
-307
lines changed

7 files changed

+799
-307
lines changed

src/error.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
use std;
99
use std::fmt;
1010

11-
#[derive(Debug, )]
11+
#[derive(Debug)]
1212
pub enum Error {
1313
Read(String),
1414
Write(String),
15-
Other(String)
15+
Other(String),
1616
}
1717

1818
impl fmt::Display for Error {
@@ -24,9 +24,9 @@ impl fmt::Display for Error {
2424
impl std::error::Error for Error {
2525
fn description(&self) -> &str {
2626
match *self {
27-
Error::Read(_) => "postgis error while reading",
27+
Error::Read(_) => "postgis error while reading",
2828
Error::Write(_) => "postgis error while writing",
29-
Error::Other(_) => "postgis unknown error"
29+
Error::Other(_) => "postgis unknown error",
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)