Minor formatting fix
This commit is contained in:
1 parent
b6f60fcfc3
commit
23df5f425f
1 file changed
+2
-2
@@ -67,8 +67,8 @@ impl<const N: usize> ShString<N> {
|
|||||||
|
|
||||||
// SAFETY:
|
// SAFETY:
|
||||||
// The first `len` bytes of `buf` are copied from a `&str`, so the first `len`
|
// The first `len` bytes of `buf` are copied from a `&str`, so the first `len`
|
||||||
// bytes are valid UTF-8. We have already checked that `len` is thess than or equal
|
// bytes are valid UTF-8. We have already checked that `len` is thess than or
|
||||||
// to `Self::MAX_LEN`.
|
// equal to `Self::MAX_LEN`.
|
||||||
Self::stack_from_raw_parts(buf, len)
|
Self::stack_from_raw_parts(buf, len)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user