diff options
| author | bors <bors@rust-lang.org> | 2015-01-14 04:42:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-14 04:42:01 +0000 |
| commit | 3614e1de6cf7abc7754c23f93476bef0e2625e99 (patch) | |
| tree | e36aa17f7450d9f0007d7278e244ba6d8127b5cf /src/libsyntax/ast_map | |
| parent | 170c4399e614fe599c3d41306b3429ca8b3b68c6 (diff) | |
| parent | c1d48a85082cfe3683ad9eda5223d3259d4fa718 (diff) | |
| download | rust-3614e1de6cf7abc7754c23f93476bef0e2625e99.tar.gz rust-3614e1de6cf7abc7754c23f93476bef0e2625e99.zip | |
auto merge of #21061 : japaric/rust/range, r=nick29581
Diffstat (limited to 'src/libsyntax/ast_map')
| -rw-r--r-- | src/libsyntax/ast_map/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/ast_map/mod.rs b/src/libsyntax/ast_map/mod.rs index f851e468e88..f462a730d3a 100644 --- a/src/libsyntax/ast_map/mod.rs +++ b/src/libsyntax/ast_map/mod.rs @@ -525,7 +525,7 @@ impl<'ast> Map<'ast> { NodesMatchingSuffix { map: self, item_name: parts.last().unwrap(), - in_which: &parts[0..(parts.len() - 1)], + in_which: &parts[..(parts.len() - 1)], idx: 0, } } |
