diff --git a/src/git.rs b/src/git.rs index ff87b7a..e7ec2d5 100644 --- a/src/git.rs +++ b/src/git.rs @@ -198,7 +198,6 @@ impl Link { let tx_path: &Path = std::path::Path::new(&self.tx); let rx_path: &Path = std::path::Path::new(&self.rx); match rx_path.try_exists() { - // TODO: unwrap defeats the purpose here. Ok(true) => handle_file_exists(self, tx_path, rx_path), Ok(false) if rx_path.is_symlink() => Err(LinkError::FileExists( tx_path.to_string_lossy().to_string(),