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