Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/smol_str/README.md')
| -rw-r--r-- | lib/smol_str/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smol_str/README.md b/lib/smol_str/README.md index 2e61b9ee42..0cc1910181 100644 --- a/lib/smol_str/README.md +++ b/lib/smol_str/README.md @@ -10,8 +10,8 @@ A `SmolStr` is a string type that has the following properties: * `size_of::<SmolStr>() == size_of::<String>()` * `Clone` is `O(1)` * Strings are stack-allocated if they are: - * Up to 22 bytes long - * Longer than 22 bytes, but substrings of `WS` (see `src/lib.rs`). Such strings consist + * Up to 23 bytes long + * Longer than 23 bytes, but substrings of `WS` (see `src/lib.rs`). Such strings consist solely of consecutive newlines, followed by consecutive spaces * If a string does not satisfy the aforementioned conditions, it is heap-allocated |