File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/tools/rust-analyzer/lib/smol_str Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " smol_str"
3- version = " 0.1.20 "
3+ version = " 0.1.21 "
44description = " small-string optimized string type with O(1) clone"
55license = " MIT OR Apache-2.0"
6- repository = " https://github.com/matklad /smol_str"
6+ repository = " https://github.com/rust-analyzer /smol_str"
77authors = [" Aleksey Kladov <aleksey.kladov@gmail.com>" ]
88edition = " 2018"
99
@@ -14,7 +14,7 @@ arbitrary = { version = "1", optional = true }
1414[dev-dependencies ]
1515proptest = " 0.10"
1616serde_json = " 1"
17- serde = { version = " 1" , features = [ " derive" ] }
17+ serde = { version = " 1" , features = [ " derive" ] }
1818
1919[features ]
2020default = [" std" ]
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ impl<'a> iter::FromIterator<&'a str> for SmolStr {
289289
290290impl < T > From < T > for SmolStr
291291where
292- T : Into < String > + AsRef < str > ,
292+ T : AsRef < str > ,
293293{
294294 fn from ( text : T ) -> Self {
295295 Self :: new ( text)
You can’t perform that action at this time.
0 commit comments