Release 0.2.0

This commit is contained in:
Lukas Wirth 2023-03-31 07:37:30 +02:00
parent 4ad02f720f
commit ea478f81f1
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "smol_str"
version = "0.1.25"
version = "0.2.0"
description = "small-string optimized string type with O(1) clone"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-analyzer/smol_str"

View File

@ -7,7 +7,7 @@
A `SmolStr` is a string type that has the following properties:
* `size_of::<SmolStr>() == 24 (therefor == size_of::<String>() on 64 bit platforms)
* `size_of::<SmolStr>() == 24 (therefore == size_of::<String>() on 64 bit platforms)
* `Clone` is `O(1)`
* Strings are stack-allocated if they are:
* Up to 23 bytes long