Minor documentation fix

This commit is contained in:
Pantonshire committed 2022-05-15 18:20:39 +01:00
1 parent d095ae8d96
commit c4291ea488
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ impl<const N: usize> ShString<N> {
/// ``` /// ```
/// # use libshire::strings::ShString; /// # use libshire::strings::ShString;
/// let s = ShString::<22>::new_from_str("こんにちは"); /// let s = ShString::<22>::new_from_str("こんにちは");
/// assert_eq!(s.len(), 15) /// assert_eq!(s.len(), 15);
/// ``` /// ```
pub fn len(&self) -> usize { pub fn len(&self) -> usize {
match self { match self {