<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/print/pp.rs, branch 1.12.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.12.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.12.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2016-05-28T19:29:14+00:00</updated>
<entry>
<title>Prevent overflows by increasing ring buffer size</title>
<updated>2016-05-28T19:29:14+00:00</updated>
<author>
<name>Sebastian Thiel</name>
<email>byronimo@gmail.com</email>
</author>
<published>2016-05-28T15:29:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=406378b6bb4a60f379cc713205fec5a8c4360c63'/>
<id>urn:sha1:406378b6bb4a60f379cc713205fec5a8c4360c63</id>
<content type='text'>
Please note that this change is just done to prevent
issues as currently seen by syntex_syntax in future.
See https://github.com/serde-rs/syntex/pull/47 for details.

As shown in https://github.com/serde-rs/syntex/issues/33,
complex code can easily overflow the ring-buffer and
cause an assertion error.
</content>
</entry>
<entry>
<title>libsyntax/pp: replace manual ring buffer with a VecDeque</title>
<updated>2016-05-01T10:26:34+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-05-01T10:22:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=41861691ebbb736a0f0dfdab142d2302dd7b87ae'/>
<id>urn:sha1:41861691ebbb736a0f0dfdab142d2302dd7b87ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsyntax/pp: minor modernizations</title>
<updated>2016-05-01T10:26:34+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2016-05-01T10:01:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3eef0831cbb930157d117d5ca5478962ea883373'/>
<id>urn:sha1:3eef0831cbb930157d117d5ca5478962ea883373</id>
<content type='text'>
* implement Display on Token instead of custom tok_str() fn
* use expression returns
* remove redundant parens in asserts
* remove "/* bad */" comments that appear to be related to early
  changes in memory management
* and a few individual idiomatic changes
</content>
</entry>
<entry>
<title>try! -&gt; ?</title>
<updated>2016-03-23T03:01:37+00:00</updated>
<author>
<name>Jorge Aparicio</name>
<email>japaricious@gmail.com</email>
</author>
<published>2016-03-23T03:01:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0f02309e4b0ea05ee905205278fb6d131341c41f'/>
<id>urn:sha1:0f02309e4b0ea05ee905205278fb6d131341c41f</id>
<content type='text'>
Automated conversion using the untry tool [1] and the following command:

```
$ find -name '*.rs' -type f | xargs untry
```

at the root of the Rust repo.

[1]: https://github.com/japaric/untry
</content>
</entry>
<entry>
<title>Removed integer suffixes in libsyntax crate</title>
<updated>2016-03-12T02:53:38+00:00</updated>
<author>
<name>srinivasreddy</name>
<email>thatiparthysreenivas@gmail.com</email>
</author>
<published>2016-03-10T18:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b308ed06846460150eb2a5f67c89ff4e63e7e665'/>
<id>urn:sha1:b308ed06846460150eb2a5f67c89ff4e63e7e665</id>
<content type='text'>
</content>
</entry>
<entry>
<title>libsyntax: deny warnings in doctests</title>
<updated>2015-11-12T05:16:57+00:00</updated>
<author>
<name>Kevin Butler</name>
<email>haqkrs@gmail.com</email>
</author>
<published>2015-11-03T16:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d64e551248d73ca9657952e983d3d178d85d3608'/>
<id>urn:sha1:d64e551248d73ca9657952e983d3d178d85d3608</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use vec![elt; n] where possible</title>
<updated>2015-07-09T09:05:32+00:00</updated>
<author>
<name>Ulrik Sverdrup</name>
<email>bluss@users.noreply.github.com</email>
</author>
<published>2015-07-08T20:52:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=836f32e7697195a482b88883cbbe4a2dd986d8cb'/>
<id>urn:sha1:836f32e7697195a482b88883cbbe4a2dd986d8cb</id>
<content type='text'>
The common pattern `iter::repeat(elt).take(n).collect::&lt;Vec&lt;_&gt;&gt;()` is
exactly equivalent to `vec![elt; n]`, do this replacement in the whole
tree.

(Actually, vec![] is smart enough to only call clone n - 1 times, while
the former solution would call clone n times, and this fact is
virtually irrelevant in practice.)
</content>
</entry>
<entry>
<title>Update old uses of ~ in comments and debugging statements</title>
<updated>2015-05-04T00:16:02+00:00</updated>
<author>
<name>Carol Nichols</name>
<email>carol.nichols@gmail.com</email>
</author>
<published>2015-05-02T20:25:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7ec81722250efc7798d9163574e01eec5cde85ca'/>
<id>urn:sha1:7ec81722250efc7798d9163574e01eec5cde85ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>syntax: Replace String::from_str with the stable String::from</title>
<updated>2015-04-21T17:08:27+00:00</updated>
<author>
<name>Erick Tryzelaar</name>
<email>erick.tryzelaar@gmail.com</email>
</author>
<published>2015-04-17T04:19:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2937cce70c7c860b215f2d6f22f45c0dfe8ba914'/>
<id>urn:sha1:2937cce70c7c860b215f2d6f22f45c0dfe8ba914</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Negative case of `len()` -&gt; `is_empty()`</title>
<updated>2015-04-15T03:26:03+00:00</updated>
<author>
<name>Tamir Duberstein</name>
<email>tamird@gmail.com</email>
</author>
<published>2015-03-24T23:54:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=10f15e72e6c265eb43d34dba564d86dbf1c4fb99'/>
<id>urn:sha1:10f15e72e6c265eb43d34dba564d86dbf1c4fb99</id>
<content type='text'>
`s/([^\(\s]+\.)len\(\) [(?:!=)&gt;] 0/!$1is_empty()/g`
</content>
</entry>
</feed>
