We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc420a6 commit 66112fbCopy full SHA for 66112fb
src/uucore/src/lib/lib.rs
@@ -222,9 +222,9 @@ pub fn read_yes() -> bool {
222
}
223
224
225
-// Helper function for processing delimiter values (which could be non UTF-8)
226
-// It converts OsString to &[u8] for unix targets only
227
-// On non-unix (i.e. Windows) it will just return an error if delimiter value is not UTF-8
+/// Helper function for processing delimiter values (which could be non UTF-8)
+/// It converts OsString to &[u8] for unix targets only
+/// On non-unix (i.e. Windows) it will just return an error if delimiter value is not UTF-8
228
pub fn os_str_as_bytes(os_string: &OsStr) -> mods::error::UResult<&[u8]> {
229
#[cfg(unix)]
230
let bytes = os_string.as_bytes();
0 commit comments