Skip to content

Commit e41e4d2

Browse files
committed
---
yaml --- r: 50147 b: refs/heads/auto c: 55fbb95 h: refs/heads/master i: 50145: ffe1d1a 50143: 35b75c1 v: v3
1 parent 0378d78 commit e41e4d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1414
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1515
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1616
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17-
refs/heads/auto: 04e367b353002e247a0b4ebcf2aba59ce01fad73
17+
refs/heads/auto: 55fbb9518b31e47e796110a1d214a2ef5c11fab5
1818
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167

branches/auto/src/libcore/trie.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,15 @@ pub struct TrieSet {
161161

162162
impl BaseIter<uint> for TrieSet {
163163
/// Visit all values in order
164+
#[inline(always)]
164165
fn each(&self, f: &fn(&uint) -> bool) { self.map.each_key(f) }
166+
#[inline(always)]
165167
fn size_hint(&self) -> Option<uint> { Some(self.len()) }
166168
}
167169

168170
impl ReverseIter<uint> for TrieSet {
169171
/// Visit all values in reverse order
172+
#[inline(always)]
170173
fn each_reverse(&self, f: &fn(&uint) -> bool) {
171174
self.map.each_key_reverse(f)
172175
}

0 commit comments

Comments
 (0)