get rid of dead code warnings
This commit is contained in:
parent
5c2615a6cb
commit
ffb4c24292
|
@ -3,11 +3,7 @@
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate handlebars;
|
extern crate handlebars;
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate include_dir;
|
|
||||||
#[macro_use]
|
|
||||||
extern crate lazy_static;
|
extern crate lazy_static;
|
||||||
#[macro_use]
|
|
||||||
extern crate serde_json;
|
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
|
@ -295,6 +295,7 @@ async fn delete_post(req: Request, url: Url) -> MyResult<Response> {
|
||||||
).internal_err()
|
).internal_err()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub enum Verb {
|
pub enum Verb {
|
||||||
Show,
|
Show,
|
||||||
Post,
|
Post,
|
||||||
|
@ -343,6 +344,7 @@ impl Serialize for ContentType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(dead_code)]
|
||||||
pub enum AccessType {
|
pub enum AccessType {
|
||||||
Decrypted,
|
Decrypted,
|
||||||
Encrypted
|
Encrypted
|
||||||
|
|
Loading…
Reference in a new issue