<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc/string.rs, branch 1.45.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.45.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.45.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-05-30T00:05:17+00:00</updated>
<entry>
<title>Add Extend::{extend_one,extend_reserve}</title>
<updated>2020-05-30T00:05:17+00:00</updated>
<author>
<name>Josh Stone</name>
<email>jistone@redhat.com</email>
</author>
<published>2020-05-13T03:09:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6700e186883a83008963d1fdba23eff2b1713e56'/>
<id>urn:sha1:6700e186883a83008963d1fdba23eff2b1713e56</id>
<content type='text'>
This adds new optional methods on `Extend`: `extend_one` add a single
element to the collection, and `extend_reserve` pre-allocates space for
the predicted number of incoming elements. These are used in `Iterator`
for `partition` and `unzip` as they shuffle elements one-at-a-time into
their respective collections.
</content>
</entry>
<entry>
<title>More diagnostic items for Clippy usage</title>
<updated>2020-04-22T05:57:56+00:00</updated>
<author>
<name>Philipp Hansch</name>
<email>dev@phansch.net</email>
</author>
<published>2020-04-22T05:47:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=23b9f46fff4453fb90611c2fb554e004f1cec096'/>
<id>urn:sha1:23b9f46fff4453fb90611c2fb554e004f1cec096</id>
<content type='text'>
This adds a couple of more diagnostic items to be used in Clippy.
I chose these particular ones because they were the types which we seem
to check for the most in Clippy. I'm not sure if the
`cfg_attr(not(test))` is needed, but it was also used for `Vec` and a
few other types.
</content>
</entry>
<entry>
<title>Rollup merge of #71121 - AnthonyMikh:fix_string_doc_link, r=Dylan-DPC</title>
<updated>2020-04-14T13:35:32+00:00</updated>
<author>
<name>Dylan DPC</name>
<email>dylan.dpc@gmail.com</email>
</author>
<published>2020-04-14T13:35:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=340b7314e3c95c1e21ba5dd19f08a532cc780ac9'/>
<id>urn:sha1:340b7314e3c95c1e21ba5dd19f08a532cc780ac9</id>
<content type='text'>
Fix broken link in documentation for String::from_utf8
</content>
</entry>
<entry>
<title>Fix broken link in documentation for String::from_utf8</title>
<updated>2020-04-14T12:07:57+00:00</updated>
<author>
<name>AnthonyMikh</name>
<email>anthony.mikh@yandex.ru</email>
</author>
<published>2020-04-14T12:07:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=15ba31d010c3c4840b57d91ad9d5b0b2c746e315'/>
<id>urn:sha1:15ba31d010c3c4840b57d91ad9d5b0b2c746e315</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add examples to Pattern docs</title>
<updated>2020-04-13T14:25:15+00:00</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2020-04-13T14:25:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7a22cf6415b75388448156708c07dd6cf5eb116a'/>
<id>urn:sha1:7a22cf6415b75388448156708c07dd6cf5eb116a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add period to Pattern docs</title>
<updated>2020-04-13T14:24:58+00:00</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2020-04-13T14:24:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cbe96b04ad9a7109febac47e660d993b45542c1f'/>
<id>urn:sha1:cbe96b04ad9a7109febac47e660d993b45542c1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize strip_prefix and strip_suffix with str patterns</title>
<updated>2020-03-30T15:10:21+00:00</updated>
<author>
<name>Nikhil Benesch</name>
<email>nikhil.benesch@gmail.com</email>
</author>
<published>2020-03-06T20:11:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ac478f2f610bd93c25c82491526ea153ad103ac0'/>
<id>urn:sha1:ac478f2f610bd93c25c82491526ea153ad103ac0</id>
<content type='text'>
Constructing a Searcher in strip_prefix and strip_suffix is
unnecessarily slow when the pattern is a fixed-length string. Add
strip_prefix and strip_suffix methods to the Pattern trait, and add
optimized implementations of these methods in the str implementation.
The old implementation is retained as the default for these methods.
</content>
</entry>
<entry>
<title>must_use on split_off</title>
<updated>2020-03-24T17:35:40+00:00</updated>
<author>
<name>Kornel</name>
<email>kornel@geekhood.net</email>
</author>
<published>2020-03-24T13:33:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=42b10e51c18ad37f671dc289aa0f183d4dbceab9'/>
<id>urn:sha1:42b10e51c18ad37f671dc289aa0f183d4dbceab9</id>
<content type='text'>
#70194
</content>
</entry>
<entry>
<title>Rollup merge of #69661 - lopopolo:string-from-mut-str, r=sfackler</title>
<updated>2020-03-15T14:40:07+00:00</updated>
<author>
<name>Mazdak Farrokhzad</name>
<email>twingoow@gmail.com</email>
</author>
<published>2020-03-15T14:40:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc1623267b344684c165a0a6972f2791e2a46728'/>
<id>urn:sha1:cc1623267b344684c165a0a6972f2791e2a46728</id>
<content type='text'>
Implement From&lt;&amp;mut str&gt; for String

I ran into this missing impl when trying to do `String::from` on the result returned from this API in the `uuid` crate:

https://docs.rs/uuid/0.8.1/uuid/adapter/struct.Hyphenated.html#method.encode_lower

I wasn't sure what to put in the stability annotation. I'd appreciate some help with that :)
</content>
</entry>
<entry>
<title>Add docs for From::&lt;&amp;mut str&gt;::from String impl</title>
<updated>2020-03-11T01:47:19+00:00</updated>
<author>
<name>Ryan Lopopolo</name>
<email>rjl@hyperbo.la</email>
</author>
<published>2020-03-11T01:47:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=533784d3a247595393ce24c9940945838913a0fe'/>
<id>urn:sha1:533784d3a247595393ce24c9940945838913a0fe</id>
<content type='text'>
</content>
</entry>
</feed>
