aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/hg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/util/hg.rs')
-rw-r--r--crates/shirabe/src/util/hg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/util/hg.rs b/crates/shirabe/src/util/hg.rs
index 8570af6d..d9e58623 100644
--- a/crates/shirabe/src/util/hg.rs
+++ b/crates/shirabe/src/util/hg.rs
@@ -158,7 +158,7 @@ impl Hg {
&output,
)
{
- return matches.into_iter().nth(1);
+ return matches.into_iter().nth(1).flatten();
}
None
})