Skip to content

Commit e7b4aaa

Browse files
Remove unused error
1 parent 7d571bb commit e7b4aaa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/server_config.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ pub enum Error {
3838
InvalidEnvironmentTable,
3939
FileOpenError,
4040
FileReadError,
41-
DirectoryCreateError,
4241
}
4342

4443
impl fmt::Display for Error {
@@ -65,7 +64,6 @@ impl StdError for Error {
6564
Error::InvalidEnvironmentTable => "'env' table is invalid, check configuration",
6665
Error::FileOpenError => "could not open config file",
6766
Error::FileReadError => "could not read config file into string",
68-
Error::DirectoryCreateError => "could not create default directory",
6967
}
7068
}
7169
}

0 commit comments

Comments
 (0)