summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <github@bigly.dog>2024-03-22 14:26:55 -0700
committerroot <github@bigly.dog>2024-03-22 14:26:55 -0700
commit454d8adb285c1095332f40ffd3764638f5843395 (patch)
treef38850892f0220d4d51f1238b02f2f93060fbb64
parentc685cee0d089185c5ce75155dfb0ba1315fb12a5 (diff)
no try into?
-rw-r--r--src/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs
index 82937fb..722c9fe 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -132,7 +132,7 @@ fn u8_pathbuf(v8: Vec<u8>) -> PathBuf {
}
#[cfg(target_family = "windows")]
{
- use std::{convert::TryInto, os::windows::ffi::OsStringExt};
+ use std::os::windows::ffi::OsStringExt;
let mut buf = Vec::new();
for chunk in v8.chunks_exact(2) {
let c: [u8; 2] = chunk.try_into().expect("exact chunks");