Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--lib/smol_str/README.md2
-rw-r--r--lib/smol_str/src/lib.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/smol_str/README.md b/lib/smol_str/README.md
index 56296fb53f..7b52a6c5b3 100644
--- a/lib/smol_str/README.md
+++ b/lib/smol_str/README.md
@@ -8,7 +8,7 @@
A `SmolStr` is a string type that has the following properties:
* `size_of::<SmolStr>() == 24` (therefore `== size_of::<String>()` on 64 bit platforms)
-* `Clone` is `O(1)`
+* `Clone` is `O(1)` (no allocation)
* Strings are stack-allocated if they are:
* Up to 23 bytes long
* Longer than 23 bytes, but substrings of `WS` (see `src/lib.rs`). Such strings consist
diff --git a/lib/smol_str/src/lib.rs b/lib/smol_str/src/lib.rs
index 55ede286c2..b76c1c7d14 100644
--- a/lib/smol_str/src/lib.rs
+++ b/lib/smol_str/src/lib.rs
@@ -15,8 +15,8 @@ use core::{
/// A `SmolStr` is a string type that has the following properties:
///
-/// * `size_of::<SmolStr>() == 24` (therefor `== size_of::<String>()` on 64 bit platforms)
-/// * `Clone` is `O(1)`
+/// * `size_of::<SmolStr>() == 24` (therefore `== size_of::<String>()` on 64 bit platforms)
+/// * `Clone` is `O(1)` (no allocation)
/// * Strings are stack-allocated if they are:
/// * Up to 23 bytes long
/// * Longer than 23 bytes, but substrings of `WS` (see below). Such strings consist