Update to code to Rust 1.67
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c839a52f4c
commit
76469dd6fc
@ -93,7 +93,7 @@ fn load_pem_file(path: &Option<String>, name: &str) -> std::io::Result<Option<Ve
|
|||||||
None => None,
|
None => None,
|
||||||
Some(p) => Some(
|
Some(p) => Some(
|
||||||
std::fs::read(p)
|
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}!")))?,
|
||||||
),
|
),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ pub async fn run_app(mut args: ClientConfig) -> std::io::Result<()> {
|
|||||||
Err(e) => {
|
Err(e) => {
|
||||||
Err(std::io::Error::new(
|
Err(std::io::Error::new(
|
||||||
ErrorKind::Other,
|
ErrorKind::Other,
|
||||||
format!("Failed to fetch relay configuration from server! {}", e),
|
format!("Failed to fetch relay configuration from server! {e}"),
|
||||||
))?;
|
))?;
|
||||||
unreachable!();
|
unreachable!();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user