Allow the Marker from ScanError

This commit is contained in:
cetra3 2017-11-15 12:06:16 +10:30
parent 5923972e42
commit 201c16217a

View file

@ -60,6 +60,10 @@ impl ScanError {
info: info.to_owned() info: info.to_owned()
} }
} }
pub fn marker(&self) -> Marker {
self.mark
}
} }
impl Error for ScanError { impl Error for ScanError {