Minor documentation fix
This commit is contained in:
1 parent
d095ae8d96
commit
c4291ea488
1 file changed
+1
-1
+1
-1
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user