From 0119cc1164262f25c28ad3af1f97e2cda11a34e7 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 19 Jul 2024 20:33:29 +0200 Subject: [PATCH] uucore: mark comment as rustdoc --- src/uucore/src/lib/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();