From 3507b55dcaa30db5673cbe8b7a405db4f00245ac Mon Sep 17 00:00:00 2001 From: hybras <24651269+hybras@users.noreply.github.com> Date: Sat, 27 Feb 2021 17:33:05 -0500 Subject: [PATCH] Remove unneeded pub --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f3ae818..0a0b2ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -94,7 +94,7 @@ mod windows { use winapi::ctypes::c_int; use winapi::um::shellapi::ShellExecuteW; - pub fn convert_path(path: &OsStr) -> io::Result> { + fn convert_path(path: &OsStr) -> io::Result> { let mut maybe_result: Vec<_> = path.encode_wide().collect(); if maybe_result.iter().any(|&u| u == 0) { return Err(io::Error::new(