From 6221195f8dca452b615055e5a5daf872255f02c1 Mon Sep 17 00:00:00 2001 From: Pandawan Date: Sun, 24 Oct 2021 19:25:38 -0700 Subject: [PATCH] Hopefully fix builds on Linux --- README.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1cc03bf..bb3e8d6 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ const notif = new Notification({ linux: true }); notif.icon('/path/to/icon'); ``` -Specifying platforms may also provide different documentation and typings for the `Notification` API. +Specifying platforms may also provide different documentation and typings for the `Notification` API. For example, macOS has specific sound names that are available for Notifications; these are reflected in the macOS-specific Notification API. diff --git a/src/lib.rs b/src/lib.rs index 45aef48..dc5190e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ use deno_core::serde::Deserialize; use deno_core::serde_json; -use notify_rust::{Error as NotifyRustError, Notification}; +use notify_rust::{error::Error as NotifyRustError, Notification}; #[derive(Debug, Deserialize)] struct NotificationOptions {