diff --git a/src/tcp_relay_client/client_config.rs b/src/tcp_relay_client/client_config.rs index fd47190..3d25959 100644 --- a/src/tcp_relay_client/client_config.rs +++ b/src/tcp_relay_client/client_config.rs @@ -93,7 +93,7 @@ fn load_pem_file(path: &Option, name: &str) -> std::io::Result 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}!")))?, ), }) } diff --git a/src/tcp_relay_client/mod.rs b/src/tcp_relay_client/mod.rs index d40c9d5..3403adc 100644 --- a/src/tcp_relay_client/mod.rs +++ b/src/tcp_relay_client/mod.rs @@ -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!(); }