Skip to content

Commit 3f016cd

Browse files
committed
---
yaml --- r: 23693 b: refs/heads/master c: 7550e45 h: refs/heads/master i: 23691: a959f7f v: v3
1 parent 2d5f485 commit 3f016cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 0c2674f9475d3f45964a4b59e1de39c1731d1cee
2+
refs/heads/master: 7550e459304b2209fbd9c9b61c113d6584ab5a2c
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/libstd/base64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trait ToBase64 {
66
fn to_base64() -> ~str;
77
}
88

9-
impl ~[u8]: ToBase64 {
9+
impl &[u8]: ToBase64 {
1010
fn to_base64() -> ~str {
1111
let chars = str::chars(
1212
~"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
@@ -57,7 +57,7 @@ impl ~[u8]: ToBase64 {
5757
}
5858
}
5959

60-
impl ~str: ToBase64 {
60+
impl &str: ToBase64 {
6161
fn to_base64() -> ~str {
6262
str::to_bytes(self).to_base64()
6363
}

0 commit comments

Comments
 (0)