From f5840bdcd360ec0bac2501f333e58e25742b1537 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 27 Jan 2023 10:43:16 -0500 Subject: chore: upgrade to Rust 1.67 (#17548) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- ext/net/ops_unix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/net/ops_unix.rs') diff --git a/ext/net/ops_unix.rs b/ext/net/ops_unix.rs index d2933a573..1161d2759 100644 --- a/ext/net/ops_unix.rs +++ b/ext/net/ops_unix.rs @@ -27,7 +27,7 @@ pub use tokio::net::UnixStream; /// A utility function to map OsStrings to Strings pub fn into_string(s: std::ffi::OsString) -> Result { s.into_string().map_err(|s| { - let message = format!("File name or path {:?} is not valid UTF-8", s); + let message = format!("File name or path {s:?} is not valid UTF-8"); custom_error("InvalidData", message) }) } -- cgit v1.2.3