mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-27 16:07:46 +00:00
Release 0.2.0
This commit is contained in:
parent
4ad02f720f
commit
ea478f81f1
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user