Skip to content

Commit 31dc767

Browse files
committed
fix error order
1 parent 4ee34fa commit 31dc767

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/sshdconfig/src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ use thiserror::Error;
99
pub enum SshdConfigError {
1010
#[error("{t}: {0}", t = t!("error.command"))]
1111
CommandError(String),
12-
#[error("{t}: {0}", t = t!("error.fmt"))]
13-
FmtError(#[from] std::fmt::Error),
1412
#[error("{t}: {0}", t = t!("error.envVar"))]
1513
EnvVarError(#[from] std::env::VarError),
14+
#[error("{t}: {0}", t = t!("error.fmt"))]
15+
FmtError(#[from] std::fmt::Error),
1616
#[error("{t}: {0}", t = t!("error.invalidInput"))]
1717
InvalidInput(String),
1818
#[error("{t}: {0}", t = t!("error.io"))]

0 commit comments

Comments
 (0)