diff --git a/src/uucore/src/lib/lib.rs b/src/uucore/src/lib/lib.rs index 044267d25ea..b4b353e3e96 100644 --- a/src/uucore/src/lib/lib.rs +++ b/src/uucore/src/lib/lib.rs @@ -222,9 +222,9 @@ pub fn read_yes() -> bool { } } -// 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 +/// 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 pub fn os_str_as_bytes(os_string: &OsStr) -> mods::error::UResult<&[u8]> { #[cfg(unix)] let bytes = os_string.as_bytes();