Skip to content

Commit f9bb99d

Browse files
committed
allow remaining deprecated code in examples
1 parent 2b34441 commit f9bb99d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/global/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
#[macro_use]
2-
extern crate lazy_static;
3-
4-
extern crate config;
1+
#![allow(deprecated)]
52

63
use config::Config;
4+
use lazy_static::lazy_static;
75
use std::error::Error;
86
use std::sync::RwLock;
97

examples/watch/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(deprecated)]
2+
13
use config::*;
24
use notify::{DebouncedEvent, RecommendedWatcher, RecursiveMode, Watcher};
35
use std::collections::HashMap;

0 commit comments

Comments
 (0)