We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 021bb15 commit 3507b55Copy full SHA for 3507b55
src/lib.rs
@@ -94,7 +94,7 @@ mod windows {
94
use winapi::ctypes::c_int;
95
use winapi::um::shellapi::ShellExecuteW;
96
97
- pub fn convert_path(path: &OsStr) -> io::Result<Vec<u16>> {
+ fn convert_path(path: &OsStr) -> io::Result<Vec<u16>> {
98
let mut maybe_result: Vec<_> = path.encode_wide().collect();
99
if maybe_result.iter().any(|&u| u == 0) {
100
return Err(io::Error::new(
0 commit comments