File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: b6ab4f2485c5e4bc6c18868c4e4c522404f77b20
8
+ refs/heads/try2: ae836c1e44d7459d4588e622a8535f127e32716f
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ use cast;
18
18
use container:: Container ;
19
19
use iter:: Iterator ;
20
20
use option:: { None , Option , Some } ;
21
+ use rc:: Rc ;
21
22
use str:: { Str , StrSlice } ;
22
23
use vec:: { Vector , ImmutableVector } ;
23
24
@@ -325,6 +326,13 @@ impl<A:IterBytes> IterBytes for @mut A {
325
326
}
326
327
}
327
328
329
+ impl < A : IterBytes > IterBytes for Rc < A > {
330
+ #[ inline]
331
+ fn iter_bytes ( & self , lsb0 : bool , f : Cb ) -> bool {
332
+ self . borrow ( ) . iter_bytes ( lsb0, f)
333
+ }
334
+ }
335
+
328
336
impl < A : IterBytes > IterBytes for ~A {
329
337
#[ inline]
330
338
fn iter_bytes ( & self , lsb0 : bool , f : Cb ) -> bool {
You can’t perform that action at this time.
0 commit comments