diff --git a/src/lib.rs b/src/lib.rs index b515461..50d56f6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,10 +28,12 @@ impl Platform for Windows { use winrt::*; let toast_xml = ToastNotificationManager::get_template_content(ToastTemplateType::ToastText02) - .unwrap().unwrap(); + .unwrap() + .unwrap(); let toast_text_elements = toast_xml .get_elements_by_tag_name(&FastHString::new("text")) - .unwrap().unwrap(); + .unwrap() + .unwrap(); toast_text_elements .item(0) @@ -124,4 +126,4 @@ pub fn notify(msg_title: &str, msg_body: &str) { let p = CurrPlatform::setup(); CurrPlatform::notify(msg_title, msg_body); p.teardown(); -} \ No newline at end of file +}