aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/perforce.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/perforce.rs')
-rw-r--r--crates/shirabe/src/util/perforce.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/perforce.rs b/crates/shirabe/src/util/perforce.rs
index 2a17fa9..1f64dcc 100644
--- a/crates/shirabe/src/util/perforce.rs
+++ b/crates/shirabe/src/util/perforce.rs
@@ -693,8 +693,7 @@ impl Perforce {
r"/[^A-Za-z0-9 ]/",
"",
&res_bits.get(4).cloned().unwrap_or_default(),
- )
- .unwrap_or_default();
+ );
possible_branches.insert(branch, res_bits.get(1).cloned().unwrap_or_default());
}
}