From 985230de46d2d5b6770cc2ac8f37774b9bf71e51 Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 4 Nov 2024 19:44:19 +0200 Subject: [PATCH] update messages --- src/app/browser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser.rs b/src/app/browser.rs index e47806f6..8b61bc07 100644 --- a/src/app/browser.rs +++ b/src/app/browser.rs @@ -282,7 +282,7 @@ fn page_position_from_action_state(action: &SimpleAction) -> Option { .state() .expect("Page position required for this action") .get::() - .expect("Parameter does not match `i32`"); + .expect("Parameter type does not match `i32`"); if page_position > -1 { Some(page_position) @@ -296,5 +296,5 @@ fn string_from_variant(variant: Option<&Variant>) -> String { variant .expect("Variant required for this action") .get::() - .expect("Parameter does not match `String`") + .expect("Parameter type does not match `String`") }