1
Fork 0
mirror of https://github.com/Steffo99/micronfig.git synced 2024-11-21 15:44:20 +00:00

Remove redundant path

This commit is contained in:
Steffo 2023-04-27 22:55:30 +02:00
parent 28a4371f1d
commit 8b54d74acd
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -6,7 +6,7 @@ use std::fs::File;
/// An error that occurred while getting a configuration value.
pub enum GetFileError<TargetType> where TargetType: TryFrom<String> {
CannotReadEnvVar(std::env::VarError),
CannotReadEnvVar(env::VarError),
CannotOpenFile(std::io::Error),
CannotReadFile(std::io::Error),
CannotConvertValue(<TargetType as TryFrom<String>>::Error),