Merge pull request #90 from cetra3/public_marker

Allow access to the Marker from ScanError
This commit is contained in:
Chen Yuheng 2017-11-22 10:44:41 +08:00 committed by GitHub
commit 0b3440578a

View file

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