<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc/string.rs, branch 1.28.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.28.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.28.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-05-24T12:01:40+00:00</updated>
<entry>
<title>stabilize RangeBounds collections_range #30877</title>
<updated>2018-05-24T12:01:40+00:00</updated>
<author>
<name>Cory Sherman</name>
<email>coryshrmn@gmail.com</email>
</author>
<published>2018-05-24T11:39:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1440f300d848610b0cb798a735e2c75a94998aa9'/>
<id>urn:sha1:1440f300d848610b0cb798a735e2c75a94998aa9</id>
<content type='text'>
rename RangeBounds::start() -&gt; start_bound()
rename RangeBounds::end() -&gt; end_bound()
</content>
</entry>
<entry>
<title>Rollup merge of #50170 - burtonageo:more_cow_from, r=alexcrichton</title>
<updated>2018-05-16T21:22:07+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-05-16T21:22:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8366780164d062c6cb69d0243e9fcf85a37d548f'/>
<id>urn:sha1:8366780164d062c6cb69d0243e9fcf85a37d548f</id>
<content type='text'>
Implement From for more types on Cow

This is basically https://github.com/rust-lang/rust/pull/48191, except that it should be implemented in a way that doesn't break third party crates.
</content>
</entry>
<entry>
<title>Update features to 1.28.0</title>
<updated>2018-05-09T06:23:02+00:00</updated>
<author>
<name>George Burton</name>
<email>burtonageo@gmail.com</email>
</author>
<published>2018-05-09T06:23:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=17e262880c13abdc4d7bf72eb7e87146f0f3b1f0'/>
<id>urn:sha1:17e262880c13abdc4d7bf72eb7e87146f0f3b1f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make `String::new()` const</title>
<updated>2018-05-05T08:38:27+00:00</updated>
<author>
<name>F001</name>
<email>changchun.fan@qq.com</email>
</author>
<published>2018-05-05T08:34:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=160063aad2206a35e6312bfaa159f0f4475af0ae'/>
<id>urn:sha1:160063aad2206a35e6312bfaa159f0f4475af0ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update the stable attributes to use the current nightly version number</title>
<updated>2018-04-27T19:46:06+00:00</updated>
<author>
<name>George Burton</name>
<email>burtonageo@gmail.com</email>
</author>
<published>2018-04-27T19:46:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f3e858aae761b30a56e8b03f510f360edeb3a2f1'/>
<id>urn:sha1:f3e858aae761b30a56e8b03f510f360edeb3a2f1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement From for more types on Cow</title>
<updated>2018-04-22T21:57:52+00:00</updated>
<author>
<name>George Burton</name>
<email>burtonageo@gmail.com</email>
</author>
<published>2018-04-22T21:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1133a149f1bd89bbc9303e3514a6bc20c3a5fc8b'/>
<id>urn:sha1:1133a149f1bd89bbc9303e3514a6bc20c3a5fc8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove no longer necessary comparison to Vec::splice.</title>
<updated>2018-04-17T01:23:06+00:00</updated>
<author>
<name>Corey Farwell</name>
<email>coreyf@rwell.org</email>
</author>
<published>2018-04-17T01:23:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=01e8bebaf1964331a5704b5ee65adc216a923f0e'/>
<id>urn:sha1:01e8bebaf1964331a5704b5ee65adc216a923f0e</id>
<content type='text'>
`String::replace_range` was previously called `String::splice`, so this
note was necessary to differentiate it from the `Vec` method. Now that
it's renamed, this note no longer seems necessary.
</content>
</entry>
<entry>
<title>Rollup merge of #49555 - nox:inline-into-boxed, r=alexcrichton</title>
<updated>2018-04-16T17:50:56+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-04-16T17:50:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bf602952116262f261eec20a2dc085d915de7bc7'/>
<id>urn:sha1:bf602952116262f261eec20a2dc085d915de7bc7</id>
<content type='text'>
Inline most of the code paths for conversions with boxed slices

This helps with the specific problem described in #49541, obviously without making any large change to how inlining works in the general case.

Everything involved in the conversions is made `#[inline]`, except for the `&lt;Vec&lt;T&gt;&gt;::into_boxed_slice` entry point which is made `#[inline(always)]` after checking that duplicating the function mentioned in the issue prevented its inlining if I only annotate it with
`#[inline]`.

For the record, that function was:

```rust
pub fn foo() -&gt; Box&lt;[u8]&gt; {
    vec![0].into_boxed_slice()
}
```

To help the inliner's job, we also hoist a `self.capacity() != self.len` check in `&lt;Vec&lt;T&gt;&gt;::shrink_to_fit` and mark it as `#[inline]` too.
</content>
</entry>
<entry>
<title>Cleanup liballoc use statements</title>
<updated>2018-04-13T23:43:13+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-13T23:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bd9ff8476d5e8ca5dbb99c70ff2a9dc3be1d59d7'/>
<id>urn:sha1:bd9ff8476d5e8ca5dbb99c70ff2a9dc3be1d59d7</id>
<content type='text'>
Some modules were still using the deprecated `allocator` module, use the
`alloc` module instead.

Some modules were using `super` while it's not needed.

Some modules were more or less ordering them, and other not, so the
latter have been modified to match the others.
</content>
</entry>
<entry>
<title>Reexport from core::unicode::char in core::char rather than vice versa</title>
<updated>2018-04-11T22:13:52+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-04-05T15:56:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=939692409da499ff3d498eae782620435f16a981'/>
<id>urn:sha1:939692409da499ff3d498eae782620435f16a981</id>
<content type='text'>
</content>
</entry>
</feed>
