Merge pull request #90 from cetra3/public_marker
Allow access to the Marker from ScanError
This commit is contained in:
commit
233de6c03e
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