<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/array.rs, branch 1.22.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.22.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.22.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2017-08-31T13:58:58+00:00</updated>
<entry>
<title>Update bootstrap compiler</title>
<updated>2017-08-31T13:58:58+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-08-25T15:39:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2972687d10408851e1c570cb9713622dfc051ecd'/>
<id>urn:sha1:2972687d10408851e1c570cb9713622dfc051ecd</id>
<content type='text'>
This commit updates the bootstrap compiler and clears out a number
of #[cfg(stage0)] annotations and related business
</content>
</entry>
<entry>
<title>Auto merge of #43690 - scalexm:issue-28229, r=nikomatsakis</title>
<updated>2017-08-22T01:34:54+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2017-08-22T01:34:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=942711e115834ea2b4d91e1b3d3ae84b69cad670'/>
<id>urn:sha1:942711e115834ea2b4d91e1b3d3ae84b69cad670</id>
<content type='text'>
Generate builtin impls for `Clone`

This fixes a long-standing ICE and limitation where some builtin types implement `Copy` but not `Clone` (whereas `Clone` is a super trait of `Copy`).

However, this PR has a few side-effects:
* `Clone` is now marked as a lang item.
* `[T; N]` is now `Clone` if `T: Clone` (currently, only if `T: Copy` and for `N &lt;= 32`).
* `fn foo&lt;'a&gt;() where &amp;'a mut (): Clone { }` won't compile anymore because of how bounds for builtin traits are handled (e.g. same thing currently if you replace `Clone` by `Copy` in this example). Of course this function is unusable anyway, an error would pop as soon as it is called.

Hence, I'm wondering wether this PR would need an RFC...
Also, cc-ing @nikomatsakis, @arielb1.

Related issues: #28229, #24000.
</content>
</entry>
<entry>
<title>Fix typo in doc</title>
<updated>2017-08-20T08:07:42+00:00</updated>
<author>
<name>Shanavas M</name>
<email>shanavas@disroot.org</email>
</author>
<published>2017-08-20T08:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ee3463eb7f91b781d30e2aeb5e675b1be508ea3d'/>
<id>urn:sha1:ee3463eb7f91b781d30e2aeb5e675b1be508ea3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make `Clone` a lang item and generate builtin impls.</title>
<updated>2017-08-14T13:07:21+00:00</updated>
<author>
<name>scalexm</name>
<email>martin.alex32@hotmail.fr</email>
</author>
<published>2017-08-04T12:44:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0c3ac648f85cca1e8dd89dfff727a422bc1897a6'/>
<id>urn:sha1:0c3ac648f85cca1e8dd89dfff727a422bc1897a6</id>
<content type='text'>
Fixes #28229.
Fixes #24000.
</content>
</entry>
<entry>
<title>std: Correct stability attributes for some implementations</title>
<updated>2016-10-01T22:58:14+00:00</updated>
<author>
<name>Oliver Middleton</name>
<email>olliemail27@gmail.com</email>
</author>
<published>2016-09-28T10:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06a7dcd35588c0dd6eaa0a523b30e4140ff79868'/>
<id>urn:sha1:06a7dcd35588c0dd6eaa0a523b30e4140ff79868</id>
<content type='text'>
These are displayed by rustdoc so should be correct.
</content>
</entry>
<entry>
<title>Use `#[prelude_import]` in `libcore`.</title>
<updated>2016-08-24T22:12:23+00:00</updated>
<author>
<name>Jeffrey Seyfried</name>
<email>jeffrey.seyfried@gmail.com</email>
</author>
<published>2016-08-22T10:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e2ad3be1787cdd36d52fcd2355225156f5460dc4'/>
<id>urn:sha1:e2ad3be1787cdd36d52fcd2355225156f5460dc4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix broken links for core primitives</title>
<updated>2016-03-01T12:44:48+00:00</updated>
<author>
<name>Michael Huynh</name>
<email>miqid@outlook.com</email>
</author>
<published>2016-03-01T12:44:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dc97f84be448bd388a2d4a13f7ed88c5f90b09c8'/>
<id>urn:sha1:dc97f84be448bd388a2d4a13f7ed88c5f90b09c8</id>
<content type='text'>
Redirects existing links for more details on primitive types in the
`core` module to the ones that exist in the `std` module.
</content>
</entry>
<entry>
<title>Revert "PR #30130 Implement `Clone` for more arrays"</title>
<updated>2015-12-06T23:29:21+00:00</updated>
<author>
<name>Ulrik Sverdrup</name>
<email>bluss@users.noreply.github.com</email>
</author>
<published>2015-12-06T23:29:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0a9c46319589a229da899fb550ee741d7ae3e5e7'/>
<id>urn:sha1:0a9c46319589a229da899fb550ee741d7ae3e5e7</id>
<content type='text'>
This reverts commit e22a64e8d8d4da46c74f878ce1c23ad1c88982e8.

This caused a regression such that types like `[[u8; 256]; 4]`
no longer implemented Clone. This previously worked due to Clone
for `[T; N]` (N in 0 to 32) being implemented for T: Copy.

Due to fixed size arrays not implementing Clone for sizes above 32,
the new implementation requiring T: Clone would not allow
`[[u8; 256]; 4]` to be Clone.
</content>
</entry>
<entry>
<title>Auto merge of #30187 - alexcrichton:stabilize-1.6, r=aturon</title>
<updated>2015-12-06T04:12:54+00:00</updated>
<author>
<name>bors</name>
<email>bors@rust-lang.org</email>
</author>
<published>2015-12-06T04:12:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c4b16384f101bbe28dc4eec0651a61cb9d5274ac'/>
<id>urn:sha1:c4b16384f101bbe28dc4eec0651a61cb9d5274ac</id>
<content type='text'>
This commit is the standard API stabilization commit for the 1.6 release cycle.
The list of issues and APIs below have all been through their cycle-long FCP and
the libs team decisions are listed below

Stabilized APIs

* `Read::read_exact`
* `ErrorKind::UnexpectedEof` (renamed from `UnexpectedEOF`)
* libcore -- this was a bit of a nuanced stabilization, the crate itself is now
  marked as `#[stable]` and the methods appearing via traits for primitives like
  `char` and `str` are now also marked as stable. Note that the extension traits
  themeselves are marked as unstable as they're imported via the prelude. The
  `try!` macro was also moved from the standard library into libcore to have the
  same interface. Otherwise the functions all have copied stability from the
  standard library now.
* `fs::DirBuilder`
* `fs::DirBuilder::new`
* `fs::DirBuilder::recursive`
* `fs::DirBuilder::create`
* `os::unix::fs::DirBuilderExt`
* `os::unix::fs::DirBuilderExt::mode`
* `vec::Drain`
* `vec::Vec::drain`
* `string::Drain`
* `string::String::drain`
* `vec_deque::Drain`
* `vec_deque::VecDeque::drain`
* `collections::hash_map::Drain`
* `collections::hash_map::HashMap::drain`
* `collections::hash_set::Drain`
* `collections::hash_set::HashSet::drain`
* `collections::binary_heap::Drain`
* `collections::binary_heap::BinaryHeap::drain`
* `Vec::extend_from_slice` (renamed from `push_all`)
* `Mutex::get_mut`
* `Mutex::into_inner`
* `RwLock::get_mut`
* `RwLock::into_inner`
* `Iterator::min_by_key` (renamed from `min_by`)
* `Iterator::max_by_key` (renamed from `max_by`)

Deprecated APIs

* `ErrorKind::UnexpectedEOF` (renamed to `UnexpectedEof`)
* `OsString::from_bytes`
* `OsStr::to_cstring`
* `OsStr::to_bytes`
* `fs::walk_dir` and `fs::WalkDir`
* `path::Components::peek`
* `slice::bytes::MutableByteVector`
* `slice::bytes::copy_memory`
* `Vec::push_all` (renamed to `extend_from_slice`)
* `Duration::span`
* `IpAddr`
* `SocketAddr::ip`
* `Read::tee`
* `io::Tee`
* `Write::broadcast`
* `io::Broadcast`
* `Iterator::min_by` (renamed to `min_by_key`)
* `Iterator::max_by` (renamed to `max_by_key`)
* `net::lookup_addr`

New APIs (still unstable)

* `&lt;[T]&gt;::sort_by_key` (added to mirror `min_by_key`)

Closes #27585
Closes #27704
Closes #27707
Closes #27710
Closes #27711
Closes #27727
Closes #27740
Closes #27744
Closes #27799
Closes #27801
cc #27801 (doesn't close as `Chars` is still unstable)
Closes #28968
</content>
</entry>
<entry>
<title>std: Stabilize APIs for the 1.6 release</title>
<updated>2015-12-05T23:09:44+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2015-12-03T01:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=464cdff102993ff1900eebbf65209e0a3c0be0d5'/>
<id>urn:sha1:464cdff102993ff1900eebbf65209e0a3c0be0d5</id>
<content type='text'>
This commit is the standard API stabilization commit for the 1.6 release cycle.
The list of issues and APIs below have all been through their cycle-long FCP and
the libs team decisions are listed below

Stabilized APIs

* `Read::read_exact`
* `ErrorKind::UnexpectedEof` (renamed from `UnexpectedEOF`)
* libcore -- this was a bit of a nuanced stabilization, the crate itself is now
  marked as `#[stable]` and the methods appearing via traits for primitives like
  `char` and `str` are now also marked as stable. Note that the extension traits
  themeselves are marked as unstable as they're imported via the prelude. The
  `try!` macro was also moved from the standard library into libcore to have the
  same interface. Otherwise the functions all have copied stability from the
  standard library now.
* The `#![no_std]` attribute
* `fs::DirBuilder`
* `fs::DirBuilder::new`
* `fs::DirBuilder::recursive`
* `fs::DirBuilder::create`
* `os::unix::fs::DirBuilderExt`
* `os::unix::fs::DirBuilderExt::mode`
* `vec::Drain`
* `vec::Vec::drain`
* `string::Drain`
* `string::String::drain`
* `vec_deque::Drain`
* `vec_deque::VecDeque::drain`
* `collections::hash_map::Drain`
* `collections::hash_map::HashMap::drain`
* `collections::hash_set::Drain`
* `collections::hash_set::HashSet::drain`
* `collections::binary_heap::Drain`
* `collections::binary_heap::BinaryHeap::drain`
* `Vec::extend_from_slice` (renamed from `push_all`)
* `Mutex::get_mut`
* `Mutex::into_inner`
* `RwLock::get_mut`
* `RwLock::into_inner`
* `Iterator::min_by_key` (renamed from `min_by`)
* `Iterator::max_by_key` (renamed from `max_by`)

Deprecated APIs

* `ErrorKind::UnexpectedEOF` (renamed to `UnexpectedEof`)
* `OsString::from_bytes`
* `OsStr::to_cstring`
* `OsStr::to_bytes`
* `fs::walk_dir` and `fs::WalkDir`
* `path::Components::peek`
* `slice::bytes::MutableByteVector`
* `slice::bytes::copy_memory`
* `Vec::push_all` (renamed to `extend_from_slice`)
* `Duration::span`
* `IpAddr`
* `SocketAddr::ip`
* `Read::tee`
* `io::Tee`
* `Write::broadcast`
* `io::Broadcast`
* `Iterator::min_by` (renamed to `min_by_key`)
* `Iterator::max_by` (renamed to `max_by_key`)
* `net::lookup_addr`

New APIs (still unstable)

* `&lt;[T]&gt;::sort_by_key` (added to mirror `min_by_key`)

Closes #27585
Closes #27704
Closes #27707
Closes #27710
Closes #27711
Closes #27727
Closes #27740
Closes #27744
Closes #27799
Closes #27801
cc #27801 (doesn't close as `Chars` is still unstable)
Closes #28968
</content>
</entry>
</feed>
