File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: 092c244d3a8ff32a323e08de9c166144e06233a5
5
+ refs/heads/try: e360ddbd65e2501028f80e17a1ec7ad92904f39c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ impl<A> of iterable<A> for option<A> {
33
33
}
34
34
}
35
35
36
+ impl of iterable < char > for str {
37
+ fn iter ( blk : fn ( & & char ) ) {
38
+ str:: chars_iter ( self ) { |ch| blk ( ch) }
39
+ }
40
+ }
41
+
36
42
fn enumerate < A , IA : iterable < A > > ( self : IA , blk : fn ( uint , A ) ) {
37
43
let i = 0 u;
38
44
self . iter { |a|
You can’t perform that action at this time.
0 commit comments