Allow the Marker from ScanError
This commit is contained in:
parent
bafabb4e41
commit
b2c59b8950
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue