Skip to content

Commit 3507b55

Browse files
committed
Remove unneeded pub
1 parent 021bb15 commit 3507b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ mod windows {
9494
use winapi::ctypes::c_int;
9595
use winapi::um::shellapi::ShellExecuteW;
9696

97-
pub fn convert_path(path: &OsStr) -> io::Result<Vec<u16>> {
97+
fn convert_path(path: &OsStr) -> io::Result<Vec<u16>> {
9898
let mut maybe_result: Vec<_> = path.encode_wide().collect();
9999
if maybe_result.iter().any(|&u| u == 0) {
100100
return Err(io::Error::new(

0 commit comments

Comments
 (0)