aboutsummaryrefslogtreecommitdiff
path: root/src/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.rs')
-rw-r--r--src/utils.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils.rs b/src/utils.rs
index e43ba67d..ddd38dc6 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -190,3 +190,9 @@ pub fn show_screenshot_notification(image_path: Option<PathBuf>) {
warn!("error showing screenshot notification: {err:?}");
}
}
+
+pub fn cause_panic() {
+ let a = Duration::from_secs(1);
+ let b = Duration::from_secs(2);
+ let _ = a - b;
+}