File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
branches/snap-stage3/src/libsyntax/util Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: e99657c7e7a07828c6c6146f9d312193063a523c
4
+ refs/heads/snap-stage3: 7266981b4cd9a593bf64ba3e91f724f998e18786
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -64,9 +64,6 @@ impl<T:Eq + IterBytes + Hash + Const + Copy> Interner<T> {
64
64
new_idx
65
65
}
66
66
67
- // this isn't "pure" in the traditional sense, because it can go from
68
- // failing to returning a value as items are interned. But for typestate,
69
- // where we first check a pred and then rely on it, ceasing to fail is ok.
70
67
pub fn get ( & self , idx : uint ) -> T { self . vect [ idx] }
71
68
72
69
pub fn len ( & self ) -> uint { let vect = & * self . vect ; vect. len ( ) }
You can’t perform that action at this time.
0 commit comments