1
Fork 0

use fmt::Result where applicable

This commit is contained in:
Andre Bogus 2018-05-09 01:41:44 +02:00
parent 8ff4b42064
commit e333725664
13 changed files with 20 additions and 20 deletions

View file

@ -989,7 +989,7 @@ mod strcursor {
}
impl<'a> std::fmt::Debug for StrCursor<'a> {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(fmt, "StrCursor({:?} | {:?})", self.slice_before(), self.slice_after())
}
}