1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

Fix/suppress warnings

This commit is contained in:
Yuki Okushi
2020-02-07 23:16:32 +09:00
parent 728b944360
commit 6406f56ca2
3 changed files with 6 additions and 3 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,