summaryrefslogtreecommitdiff
path: root/runtime/ops/utils.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/utils.rs')
-rw-r--r--runtime/ops/utils.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/utils.rs b/runtime/ops/utils.rs
index 29cbaab91..bdbe7f6d0 100644
--- a/runtime/ops/utils.rs
+++ b/runtime/ops/utils.rs
@@ -13,7 +13,7 @@ use std::sync::Arc;
/// A utility function to map OsStrings to Strings
pub fn into_string(s: std::ffi::OsString) -> Result<String, AnyError> {
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)
})
}