Skip to content

Commit

Permalink
uucore: mark comment as rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWiederhake committed Jul 19, 2024
1 parent 13d77be commit 3d5232b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/uucore/src/lib/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 3d5232b

Please sign in to comment.