mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-24 21:03:21 +01:00
Suppress warning
This commit is contained in:
parent
12eccf40e1
commit
6560a2285f
@ -5,6 +5,7 @@ use derive_more::Display;
|
|||||||
#[derive(Display, Debug, PartialEq)]
|
#[derive(Display, Debug, PartialEq)]
|
||||||
pub enum FilesError {
|
pub enum FilesError {
|
||||||
/// Path is not a directory
|
/// Path is not a directory
|
||||||
|
#[allow(dead_code)]
|
||||||
#[display(fmt = "Path is not a directory. Unable to serve static files")]
|
#[display(fmt = "Path is not a directory. Unable to serve static files")]
|
||||||
IsNotDirectory,
|
IsNotDirectory,
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user