Update to code to Rust 1.67
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pierre HUBERT 2023-02-02 10:27:37 +01:00
parent c839a52f4c
commit 76469dd6fc
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ fn load_pem_file(path: &Option<String>, name: &str) -> std::io::Result<Option<Ve
None => None,
Some(p) => Some(
std::fs::read(p)
.map_err(|e| encpasulate_error(e, format!("Failed to load {}!", name)))?,
.map_err(|e| encpasulate_error(e, format!("Failed to load {name}!")))?,
),
})
}

View File

@ -76,7 +76,7 @@ pub async fn run_app(mut args: ClientConfig) -> std::io::Result<()> {
Err(e) => {
Err(std::io::Error::new(
ErrorKind::Other,
format!("Failed to fetch relay configuration from server! {}", e),
format!("Failed to fetch relay configuration from server! {e}"),
))?;
unreachable!();
}