diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/global/main.rs | 1 | ||||
-rw-r--r-- | examples/watch/main.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/global/main.rs b/examples/global/main.rs index 3a70253..b0dc6be 100644 --- a/examples/global/main.rs +++ b/examples/global/main.rs @@ -1,3 +1,4 @@ +#![allow(deprecated)] use config::Config; use lazy_static::lazy_static; use std::error::Error; diff --git a/examples/watch/main.rs b/examples/watch/main.rs index 25d4b59..801ee4f 100644 --- a/examples/watch/main.rs +++ b/examples/watch/main.rs @@ -1,3 +1,4 @@ +#![allow(deprecated)] use config::{Config, File}; use notify::{DebouncedEvent, RecommendedWatcher, RecursiveMode, Watcher}; use std::collections::HashMap; |