rust/src/libsyntax
bors 700b4c160b Auto merge of #25028 - bluss:drain-string, r=alexcrichton
collections: Implement String::drain(range) according to RFC 574

`.drain(range)` is unstable and under feature(collections_drain).

This adds a safe way to remove any range of a String as efficiently as
possible.

As noted in the code, this drain iterator has none of the memory safety
issues of the vector version.

RFC tracking issue is #23055
2015-05-02 04:35:33 +00:00
..
ast_map Structural changes for associated constants 2015-04-23 21:02:25 -06:00
diagnostics Add metadata output to the diagnostics system. 2015-04-30 08:59:53 +10:00
ext Interpolate AST nodes in quasiquote. 2015-04-25 21:42:10 -04:00
parse Rollup merge of #24981 - carols10cents:remove-more-priv, r=alexcrichton 2015-05-01 20:20:18 +05:30
print Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
util Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
abi.rs
ast_util.rs Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
ast.rs Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
attr.rs
codemap.rs syntax: Avoid reallocating or copying in CodeMap::new_filemap 2015-05-01 19:51:31 +02:00
config.rs syntax: Remove uses of #[feature(slice_patterns)] 2015-04-21 10:08:26 -07:00
diagnostic.rs syntax: Replace String::from_str with the stable String::from 2015-04-21 10:08:27 -07:00
feature_gate.rs Register new snapshots 2015-04-28 17:23:45 -07:00
fold.rs Auto merge of #23606 - quantheory:associated_const, r=nikomatsakis 2015-04-27 16:45:21 +00:00
lib.rs syntax: Avoid reallocating or copying in CodeMap::new_filemap 2015-05-01 19:51:31 +02:00
owned_slice.rs
ptr.rs
show_span.rs
std_inject.rs
str.rs syntax: Copy unstable str::char_at into libsyntax 2015-04-21 10:23:53 -07:00
test.rs
visit.rs Get associated consts working in match patterns. 2015-04-23 21:02:29 -06:00