is_none()
This commit is contained in:
parent
1a924fe0b1
commit
a92f4abe92
|
@ -40,7 +40,7 @@ impl OutPathDiff {
|
|||
}
|
||||
|
||||
pub fn find_after(&mut self) -> Result<bool, File> {
|
||||
if self.original == None {
|
||||
if self.original.is_none() {
|
||||
debug!("Before is None, not bothering with After");
|
||||
return Ok(false);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue