<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libcore/fmt/num.rs, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-03-26T13:14:56+00:00</updated>
<entry>
<title>Rollup merge of #49103 - glandium:uninitialized, r=cramertj</title>
<updated>2018-03-26T13:14:56+00:00</updated>
<author>
<name>Tim Neumann</name>
<email>mail@timnn.me</email>
</author>
<published>2018-03-26T13:14:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=fc9dfda6adcbbd7f13bba1781ae35371dd48fa81'/>
<id>urn:sha1:fc9dfda6adcbbd7f13bba1781ae35371dd48fa81</id>
<content type='text'>
Use an uninitialized buffer in GenericRadix::fmt_int, like in Display::fmt for numeric types

The code using a slice of that buffer is only ever going to use
bytes that are subsequently initialized.
</content>
</entry>
<entry>
<title>Rollup merge of #49102 - glandium:decimal, r=aturon</title>
<updated>2018-03-23T17:16:09+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-03-23T14:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db2dde9a41aeba6ab0886ebc09c2918b95dd9ddb'/>
<id>urn:sha1:db2dde9a41aeba6ab0886ebc09c2918b95dd9ddb</id>
<content type='text'>
Remove core::fmt::num::Decimal

Before ebf9e1aaf6, it was used for Display::fmt, but ebf9e1aaf6 replaced
that with a faster implementation, and nothing else uses it.
</content>
</entry>
<entry>
<title>Rollup merge of #49099 - glandium:master, r=sfackler</title>
<updated>2018-03-19T23:15:22+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2018-03-19T23:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=63ab36190d5d33714dddc46ce98481fbfbab2793'/>
<id>urn:sha1:63ab36190d5d33714dddc46ce98481fbfbab2793</id>
<content type='text'>
Use associated consts for GenericRadix base and prefix

The trait being private, this does not imply an API change.
</content>
</entry>
<entry>
<title>Use associated consts for GenericRadix base and prefix</title>
<updated>2018-03-17T06:49:37+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-03-17T00:45:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b910d6b93cdbe075b157621432d271e6afcaa20f'/>
<id>urn:sha1:b910d6b93cdbe075b157621432d271e6afcaa20f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use an uninitialized buffer in GenericRadix::fmt_int, like in Display::fmt for numeric types</title>
<updated>2018-03-17T01:42:34+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-03-17T01:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=38cbdcd0b1791e68c9485d8db6e81cf2d6765572'/>
<id>urn:sha1:38cbdcd0b1791e68c9485d8db6e81cf2d6765572</id>
<content type='text'>
The code using a slice of that buffer is only ever going to use
bytes that are subsequently initialized.
</content>
</entry>
<entry>
<title>Remove core::fmt::num::Decimal</title>
<updated>2018-03-17T01:32:31+00:00</updated>
<author>
<name>Mike Hommey</name>
<email>mh@glandium.org</email>
</author>
<published>2018-03-17T01:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e6268191205c42bc7958d949fa48811d60857f9'/>
<id>urn:sha1:9e6268191205c42bc7958d949fa48811d60857f9</id>
<content type='text'>
Before ebf9e1aaf6, it was used for Display::fmt, but ebf9e1aaf6 replaced
that with a faster implementation, and nothing else uses it.
</content>
</entry>
<entry>
<title>Add hexadecimal formatting of integers with fmt::Debug</title>
<updated>2018-03-13T13:53:06+00:00</updated>
<author>
<name>Simon Sapin</name>
<email>simon.sapin@exyr.org</email>
</author>
<published>2018-03-13T13:08:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=4897935e8645e5f1d9d9ef61c78a1cb019c44f89'/>
<id>urn:sha1:4897935e8645e5f1d9d9ef61c78a1cb019c44f89</id>
<content type='text'>
This can be used for integers within a larger types which implements Debug
(possibly through derive) but not fmt::UpperHex or fmt::LowerHex.

```rust
assert!(format!("{:02x?}", b"Foo\0") == "[46, 6f, 6f, 00]");
assert!(format!("{:02X?}", b"Foo\0") == "[46, 6F, 6F, 00]");
```

RFC: https://github.com/rust-lang/rfcs/pull/2226
</content>
</entry>
<entry>
<title>Added inline to fmt for debug implementations of primitives.</title>
<updated>2018-01-29T04:55:05+00:00</updated>
<author>
<name>penpalperson</name>
<email>16357077+penpalperson@users.noreply.github.com</email>
</author>
<published>2018-01-29T04:55:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=81e49597bf3fe4fb2dfe9f60325079ff6bb916a0'/>
<id>urn:sha1:81e49597bf3fe4fb2dfe9f60325079ff6bb916a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reject '2' as a binary digit in internals of 'b' formatting</title>
<updated>2017-11-29T05:35:18+00:00</updated>
<author>
<name>David Ross</name>
<email>daboross@daboross.net</email>
</author>
<published>2017-11-29T05:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2c98378ace8d9d406c9701844a7e556def6f7cbc'/>
<id>urn:sha1:2c98378ace8d9d406c9701844a7e556def6f7cbc</id>
<content type='text'>
I don't believe the previous code `0 ... 2` would run into any real problems, but it seems confusing to read, given that '2' is never a valid binary digit.

As far as I can tell this code is only ever called from within another private method in the trait which has logic to never hand it '2' anyways. I thought we could change this for clarity anyways.</content>
</entry>
<entry>
<title>address some `FIXME`s whose associated issues were marked as closed</title>
<updated>2017-09-30T08:33:47+00:00</updated>
<author>
<name>Niv Kaminer</name>
<email>nivkner@zoho.com</email>
</author>
<published>2017-09-29T07:54:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ff99111f482096248e7b37eeaf46ee8174d05b00'/>
<id>urn:sha1:ff99111f482096248e7b37eeaf46ee8174d05b00</id>
<content type='text'>
remove FIXME(#13101) since `assert_receiver_is_total_eq` stays.
remove FIXME(#19649) now that stability markers render.
remove FIXME(#13642) now the benchmarks were moved.
remove FIXME(#6220) now that floating points can be formatted.
remove FIXME(#18248) and write tests for `Rc&lt;str&gt;` and `Rc&lt;[u8]&gt;`
remove reference to irelevent issues in FIXME(#1697, #2178...)
update FIXME(#5516) to point to getopts issue 7
update FIXME(#7771) to point to RFC 628
update FIXME(#19839) to point to issue 26925
</content>
</entry>
</feed>
