Replace uses of try!() macro with "?" operator
This commit is contained in:
parent
14bacaf01f
commit
ec3daa1f41
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ impl GPSEntry for Entry {
|
|||
|
||||
let mut hdr = self.get_header_mut();
|
||||
for pattern in patterns.iter() {
|
||||
let _ = try!(hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError));
|
||||
let _ = hdr.delete(pattern).chain_err(|| GPSEK::HeaderWriteError)?;
|
||||
}
|
||||
|
||||
match coordinates {
|
||||
|
|
Loading…
Reference in a new issue