<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/ops, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2020-07-28T00:51:13+00:00</updated>
<entry>
<title>mv std libs to library/</title>
<updated>2020-07-28T00:51:13+00:00</updated>
<author>
<name>mark</name>
<email>markm@cs.wisc.edu</email>
</author>
<published>2020-06-12T02:31:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c31b45ae878b821975c4ebd94cc1e49f6073fd0'/>
<id>urn:sha1:2c31b45ae878b821975c4ebd94cc1e49f6073fd0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed typo in `closure`</title>
<updated>2020-07-27T00:05:49+00:00</updated>
<author>
<name>Alex</name>
<email>forehand.alex@gmail.com</email>
</author>
<published>2020-07-27T00:05:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=06cc66619797161eab89d321bcc6420d9770b0eb'/>
<id>urn:sha1:06cc66619797161eab89d321bcc6420d9770b0eb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing backticks in diagnostics note</title>
<updated>2020-07-23T12:52:48+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>huyuumi.dev@gmail.com</email>
</author>
<published>2020-07-23T12:52:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3f4f3134d955c6be8a1bb0b1f875990ae642f5c1'/>
<id>urn:sha1:3f4f3134d955c6be8a1bb0b1f875990ae642f5c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #73197 - c410-f3r:ranges, r=dtolnay</title>
<updated>2020-07-20T19:30:14+00:00</updated>
<author>
<name>Manish Goregaokar</name>
<email>manishsmail@gmail.com</email>
</author>
<published>2020-07-20T19:30:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=241374a93b4fe45daf2783b78415ba9a7928c790'/>
<id>urn:sha1:241374a93b4fe45daf2783b78415ba9a7928c790</id>
<content type='text'>
Impl Default for ranges

Couldn't find an issue about it.

`Range` and friends probably can implement `Default` if `Idx: Default`. For example, the following would be possible:

```rust
#[derive(Default)]
struct Foo(core::ops::RangeToInclusive&lt;u64&gt;);

let _ = [1, 2, 3].get(core::ops::Range::default());

core::ops::RangeFrom::&lt;u8&gt;::default().take(20).for_each(|x| { dbg!(x); });

fn stuff&lt;T: Default&gt;() { let instance = T::default(); ... more stuff }
stuff::&lt;core::ops::RangeTo&lt;f32&gt;&gt;();
```

Maybe there are some concerns about safety or misunderstandings?
</content>
</entry>
<entry>
<title>apply bootstrap cfgs</title>
<updated>2020-07-16T23:36:49+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2020-07-16T13:12:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=647d9b525fcda07695809b851b4d6bce05b34e61'/>
<id>urn:sha1:647d9b525fcda07695809b851b4d6bce05b34e61</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some Default impls</title>
<updated>2020-07-10T10:53:53+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2020-07-10T10:44:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3756927478afe8d3a880edc469afd766c2f9e82'/>
<id>urn:sha1:c3756927478afe8d3a880edc469afd766c2f9e82</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement associated lang items</title>
<updated>2020-06-24T23:08:11+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2020-05-25T03:07:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a13d4678feadf03e247ab6aae8279bfab9cdaa6d'/>
<id>urn:sha1:a13d4678feadf03e247ab6aae8279bfab9cdaa6d</id>
<content type='text'>
Fixes #70718

This commit allows making associated items (e.g. associated functions
and types) into lang items via the `#[lang]` attribute. This allows such
items to be accessed directly, rather than by iterating over the parent
item's associated items.

I've added `FnOnce::Output` as a lang item, and updated one old usage to
use the new lang item. The remaining uses can be updated separately.
</content>
</entry>
<entry>
<title>Impl Default for ranges</title>
<updated>2020-06-10T02:10:55+00:00</updated>
<author>
<name>Caio</name>
<email>c410.f3r@gmail.com</email>
</author>
<published>2020-06-10T02:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=187aea7c34adf06b0db39f688d60d3fdac8e7e3e'/>
<id>urn:sha1:187aea7c34adf06b0db39f688d60d3fdac8e7e3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Bump to 1.46</title>
<updated>2020-06-03T19:27:51+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2020-06-03T19:15:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=71393422495b8d3c7a6e4ded3e64adaec45dca6d'/>
<id>urn:sha1:71393422495b8d3c7a6e4ded3e64adaec45dca6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rephrase term 'non-pointer type'</title>
<updated>2020-05-31T19:58:06+00:00</updated>
<author>
<name>JOE1994</name>
<email>joseph942010@gmail.com</email>
</author>
<published>2020-05-31T19:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3048a41a5a042c2633a4d87ea38e04a1407f5bd3'/>
<id>urn:sha1:3048a41a5a042c2633a4d87ea38e04a1407f5bd3</id>
<content type='text'>
If the reader assumes that 'pointer type's include 'smart pointer's,
the term 'non-pointer type' could mislead the reader to assume that
x should not be a smart pointer type. I tried to rephrase the term
'non-pointer type' to remove ambiguity in the doc comments.

closes #72335

Thank you for reviewing this PR! :)
</content>
</entry>
</feed>
