Skip to content

Commit

Permalink
utf
Browse files Browse the repository at this point in the history
  • Loading branch information
kennykerr committed Dec 19, 2023
1 parent b871029 commit dad90e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/core/src/strings/hstring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl HSTRING {
self.0.is_none()
}

/// Returns the length of the string. The length is measured in `u16`s, not including the terminating null character.
/// Returns the length of the string. The length is measured in `u16`s (UTF-16 characters), not including the terminating null character.
pub fn len(&self) -> usize {
if let Some(header) = self.get_header() {
header.len as usize
Expand Down

0 comments on commit dad90e3

Please sign in to comment.