Fix examples
This commit is contained in:
@@ -3,7 +3,7 @@ extern crate libnotify;
|
||||
fn main() {
|
||||
// Init libnotify
|
||||
libnotify::init("myapp");
|
||||
// Create a new notification and show it
|
||||
// Create a new notification (doesn't show it yet)
|
||||
let n =
|
||||
libnotify::Notification::new("Summary", Some("Optional Body"), None);
|
||||
// Show the notification
|
||||
|
||||
Reference in New Issue
Block a user