Skip to content

Commit 9e7fb66

Browse files
committed
fixed whitespace
1 parent 0aa4286 commit 9e7fb66

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/err.rs

-3
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,12 @@ impl <'p> std::convert::From<PythonObjectDowncastError<'p>> for PyErr {
397397
}
398398

399399
impl Error for PyErr {
400-
401400
fn description(&self) -> &str {
402401
"Error originating from the rust-cpython bindings."
403402
}
404-
405403
}
406404

407405
impl fmt::Display for PyErr {
408-
409406
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
410407
write!(f, "PyErr: ptype {:?} pvalue {:?}", self.ptype, self.pvalue)
411408
}

0 commit comments

Comments
 (0)