diff options
Diffstat (limited to 'crates/shirabe/src/util/svn.rs')
| -rw-r--r-- | crates/shirabe/src/util/svn.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/shirabe/src/util/svn.rs b/crates/shirabe/src/util/svn.rs index 8453a43..181fccf 100644 --- a/crates/shirabe/src/util/svn.rs +++ b/crates/shirabe/src/util/svn.rs @@ -443,9 +443,7 @@ impl Svn { (), ) { let mut matches: IndexMap<CaptureKey, String> = IndexMap::new(); - if Preg::is_match3(r"{(\d+(?:\.\d+)+)}", &output, Some(&mut matches)) - .unwrap_or(false) - { + if Preg::is_match3(r"{(\d+(?:\.\d+)+)}", &output, Some(&mut matches)) { *cached = Some( matches .get(&CaptureKey::ByIndex(1)) |
