diff options
author | Daniel Eades <danieleades@hotmail.com> | 2021-12-29 11:47:49 +0000 |
---|---|---|
committer | Daniel Eades <danieleades@hotmail.com> | 2021-12-29 12:13:14 +0000 |
commit | a880573d5fb0331db991b279e24cd3d013c134df (patch) | |
tree | d4f507535f195049cad3d50d39e0704dfc669312 | |
parent | 017adeaaa3fe84241b9696a9cd8f1928a7f2725a (diff) |
allow remaining deprecated code in 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; |