summaryrefslogtreecommitdiffstats
path: root/src/app/states.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/states.rs')
-rw-r--r--src/app/states.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/states.rs b/src/app/states.rs
index 0f01af75..f22a0221 100644
--- a/src/app/states.rs
+++ b/src/app/states.rs
@@ -219,7 +219,7 @@ impl AppSearchState {
.next_boundary(chunk, start_position)
.unwrap();
}
- _ => Err(err).unwrap(),
+ _ => panic!("{err:?}"),
},
}
}
@@ -239,7 +239,7 @@ impl AppSearchState {
self.grapheme_cursor.prev_boundary(chunk, 0).unwrap();
}
- _ => Err(err).unwrap(),
+ _ => panic!("{err:?}"),
},
}
}