Skip to content

Commit

Permalink
Merge pull request #55 from h4llow3En/feature/fix-docs
Browse files Browse the repository at this point in the history
docs: fix example
  • Loading branch information
hoodie authored Aug 11, 2023
2 parents b5cc2b3 + d743454 commit c2cdd8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ impl<'a> Notification<'a> {
///
/// ```no_run
/// # use mac_notification_sys::*;
/// let _ = Notification::new().sound("Blow");
/// let _ = Notification::new().default_sound();
/// ```
pub fn default_sound(&mut self) -> &mut Self {
self.sound = Some(Sound::Default);
Expand Down

0 comments on commit c2cdd8e

Please sign in to comment.