<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/liballoc, branch 1.26.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.26.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.26.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-04-22T00:04:01+00:00</updated>
<entry>
<title>fix my unit test that was horrendously wrong</title>
<updated>2018-04-22T00:04:01+00:00</updated>
<author>
<name>Michael Lamparski</name>
<email>diagonaldevice@gmail.com</email>
</author>
<published>2018-04-18T20:48:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bbfc486d112a9e601f6b1afeb7660c8ba015c849'/>
<id>urn:sha1:bbfc486d112a9e601f6b1afeb7660c8ba015c849</id>
<content type='text'>
and add one for non-mut slicing since I touched that method too
</content>
</entry>
<entry>
<title>smaller PR just to fix #50002</title>
<updated>2018-04-22T00:03:58+00:00</updated>
<author>
<name>Michael Lamparski</name>
<email>diagonaldevice@gmail.com</email>
</author>
<published>2018-04-16T20:34:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ef7f38d5ee330605ddbb977ac90a1a1a2744e70'/>
<id>urn:sha1:7ef7f38d5ee330605ddbb977ac90a1a1a2744e70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[beta] Tweak some stabilizations in libstd</title>
<updated>2018-04-19T23:53:51+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-04-19T22:52:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=222ca2db7814ee7d96168ab532e671a083c6520d'/>
<id>urn:sha1:222ca2db7814ee7d96168ab532e671a083c6520d</id>
<content type='text'>
This commit tweaks a few stable APIs in the `beta` branch before they hit
stable. The `str::is_whitespace` and `str::is_alphanumeric` functions were
deleted (added in #49381, issue at #49657). The `and_modify` APIs added
in #44734 were altered to take a `FnOnce` closure rather than a `FnMut` closure.

Closes #49581
Closes #49657
</content>
</entry>
<entry>
<title>Use Alloc and Layout from core::heap.</title>
<updated>2018-04-02T07:06:19+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-04-02T07:05:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b647583c2df155f4741fa2b3e1fa6e4fb1f5868f'/>
<id>urn:sha1:b647583c2df155f4741fa2b3e1fa6e4fb1f5868f</id>
<content type='text'>
94d1970bba87f2d2893f6e934e4c3f02ed50604d moved the alloc::allocator
module to core::heap, moving e.g. Alloc and Layout out of the alloc
crate. While alloc::heap reexports them, it's better to use them from
where they really come from.
</content>
</entry>
<entry>
<title>Auto merge of #49481 - SimonSapin:core-heap, r=alexcrichton</title>
<updated>2018-03-31T09:11:21+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2018-03-31T09:11:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8dd24c8ed4ac3e48068408fa21d491d7ffe45295'/>
<id>urn:sha1:8dd24c8ed4ac3e48068408fa21d491d7ffe45295</id>
<content type='text'>
Move the alloc::allocator module to core::heap

This is the `Alloc` trait and its dependencies.
</content>
</entry>
<entry>
<title>Rollup merge of #49468 - glandium:cleanup, r=pnkfelix</title>
<updated>2018-03-29T23:31:17+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-03-29T23:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd5f17abb5417ed66395d1f60b3ea5daa35ab17d'/>
<id>urn:sha1:dd5f17abb5417ed66395d1f60b3ea5daa35ab17d</id>
<content type='text'>
Remove unnecessary use core::hash in liballoc/boxed.rs

It' only used for hash::Hasher, but Hasher is also imported.
</content>
</entry>
<entry>
<title>Rollup merge of #49466 - glandium:master, r=rkruppe</title>
<updated>2018-03-29T23:31:16+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-03-29T23:31:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=361ddfeb1324179811280002c1e40443cc9c74a1'/>
<id>urn:sha1:361ddfeb1324179811280002c1e40443cc9c74a1</id>
<content type='text'>
Use f{32,64}::to_bits for is_zero test in vec::SpecFromElem

vec::SpecFromElem provides an optimization to use calloc to fill a Vec
when the element given to fill the Vec is represented by 0.

For floats, the test for that currently used is `x == 0. &amp;&amp;
x.is_sign_positive()`. When compiled in a standalone function, rustc
generates the following assembly:

```
  xorps xmm1, xmm1
  ucomisd xmm0, xmm1
  setnp al
  sete cl
  and cl, al
  movq rax, xmm0
  test rax, rax
  setns al
  and al, cl
  ret
```

A simpler test telling us whether the value is represented by 0, is
`x.to_bits() == 0`, which rustc compiles to:

```
  movq rax, xmm0
  test rax, rax
  sete al
  ret
```

Not that the test is hot in any way, but it also makes it clearer what
the intent in the rust code is.
</content>
</entry>
<entry>
<title>Move the alloc::allocator module to core::heap</title>
<updated>2018-03-29T12:58:07+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-03-28T20:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=94d1970bba87f2d2893f6e934e4c3f02ed50604d'/>
<id>urn:sha1:94d1970bba87f2d2893f6e934e4c3f02ed50604d</id>
<content type='text'>
This is the `Alloc` trait and its dependencies.
</content>
</entry>
<entry>
<title>Move RangeArguments to {core::std}::ops and rename to RangeBounds</title>
<updated>2018-03-29T11:12:49+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-03-19T08:26:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=16d3ba1b23195da2d53e058c58c2a41def914dec'/>
<id>urn:sha1:16d3ba1b23195da2d53e058c58c2a41def914dec</id>
<content type='text'>
These unstable items are deprecated:

* The `std::collections::range::RangeArgument` reexport
* The `std::collections::range` module.
</content>
</entry>
<entry>
<title>Move alloc::Bound to {core,std}::ops</title>
<updated>2018-03-29T11:12:49+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-03-19T08:01:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3a63970dee2422e2fcc79d8b99303b4b046f444'/>
<id>urn:sha1:c3a63970dee2422e2fcc79d8b99303b4b046f444</id>
<content type='text'>
The stable reexport `std::collections::Bound` is now deprecated.

Another deprecated reexport could be added in `alloc`,
but that crate is unstable.
</content>
</entry>
</feed>
