Skip to content

Commit e2c1c51

Browse files
authored
chore(utils): make FromEnvErr errors lowercase (#12)
Massive nit, but these are usually lowercase by convention.
1 parent 38495f2 commit e2c1c51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/utils/from_env.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ pub struct EnvItemInfo {
1818
#[derive(Debug, Clone, PartialEq, Eq, thiserror::Error)]
1919
pub enum FromEnvErr<Inner> {
2020
/// The environment variable is missing.
21-
#[error("Error reading variable {0}: {1}")]
21+
#[error("error reading variable {0}: {1}")]
2222
EnvError(String, VarError),
2323
/// The environment variable is empty.
24-
#[error("Environment variable {0} is empty")]
24+
#[error("environment variable {0} is empty")]
2525
Empty(String),
2626
/// The environment variable is present, but the value could not be parsed.
27-
#[error("Failed to parse environment variable {0}")]
27+
#[error("failed to parse environment variable {0}")]
2828
ParseError(#[from] Inner),
2929
}
3030

0 commit comments

Comments
 (0)