From e2a758d9473e0fca18939b1c23aa0847c3e30422 Mon Sep 17 00:00:00 2001 From: Mika Attila Date: Sun, 8 Mar 2015 17:14:52 +0100 Subject: [PATCH] Update `show` example --- examples/show.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/show.rs b/examples/show.rs index 26f5106a..603fa464 100644 --- a/examples/show.rs +++ b/examples/show.rs @@ -2,6 +2,8 @@ extern crate libnotify; fn main() { let notify = libnotify::Context::new("hello").unwrap(); - let n = notify.new_notification("Hello, ", Some("World!"), None).unwrap(); + let n = notify.new_notification("This is the summary.", + Some("This is the optional body text."), + None).unwrap(); n.show().unwrap(); }