Suppress warning

This commit is contained in:
Yuki Okushi 2020-05-26 17:13:35 +09:00
parent 12eccf40e1
commit 6560a2285f
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ use derive_more::Display;
#[derive(Display, Debug, PartialEq)]
pub enum FilesError {
/// Path is not a directory
#[allow(dead_code)]
#[display(fmt = "Path is not a directory. Unable to serve static files")]
IsNotDirectory,