is_none()

This commit is contained in:
Graham Christensen 2019-04-13 08:12:12 -04:00
parent 1a924fe0b1
commit a92f4abe92
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -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);
}