Allow the Marker from ScanError
This commit is contained in:
parent
5923972e42
commit
201c16217a
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ impl ScanError {
|
|||
info: info.to_owned()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn marker(&self) -> Marker {
|
||||
self.mark
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for ScanError {
|
||||
|
|
Loading…
Reference in a new issue