Skip to content

Commit 2429854

Browse files
committed
---
yaml --- r: 50887 b: refs/heads/try c: c108409 h: refs/heads/master i: 50885: 15895c0 50883: b7ee7a0 50879: 99035ad v: v3
1 parent df4c588 commit 2429854

26 files changed

+354
-354
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 5f13e9ccc2e3328d4cd8ca49f84e6840dd998346
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: f7a2371c176663d59062ec5158f39faecba45768
5-
refs/heads/try: be9bddd46377bc982b73acf15a720365a54197a7
5+
refs/heads/try: c1084091d4e5472fac7e158b11120bad6ff210ff
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libstd/arena.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pub fn Arena() -> Arena {
123123
}
124124

125125
#[inline(always)]
126-
pure fn round_up_to(base: uint, align: uint) -> uint {
126+
fn round_up_to(base: uint, align: uint) -> uint {
127127
(base + (align - 1)) & !(align - 1)
128128
}
129129

branches/try/src/libstd/base64.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ use core::str;
1313
use core::vec;
1414

1515
pub trait ToBase64 {
16-
pure fn to_base64(&self) -> ~str;
16+
fn to_base64(&self) -> ~str;
1717
}
1818

1919
impl ToBase64 for &'self [u8] {
20-
pure fn to_base64(&self) -> ~str {
20+
fn to_base64(&self) -> ~str {
2121
let chars = str::chars(
2222
~"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
2323
);
@@ -70,17 +70,17 @@ impl ToBase64 for &'self [u8] {
7070
}
7171
7272
impl ToBase64 for &'self str {
73-
pure fn to_base64(&self) -> ~str {
73+
fn to_base64(&self) -> ~str {
7474
str::to_bytes(*self).to_base64()
7575
}
7676
}
7777
7878
pub trait FromBase64 {
79-
pure fn from_base64(&self) -> ~[u8];
79+
fn from_base64(&self) -> ~[u8];
8080
}
8181
8282
impl FromBase64 for ~[u8] {
83-
pure fn from_base64(&self) -> ~[u8] {
83+
fn from_base64(&self) -> ~[u8] {
8484
if self.len() % 4u != 0u { fail!(~"invalid base64 length"); }
8585
8686
let len = self.len();
@@ -142,7 +142,7 @@ impl FromBase64 for ~[u8] {
142142
}
143143
144144
impl FromBase64 for ~str {
145-
pure fn from_base64(&self) -> ~[u8] {
145+
fn from_base64(&self) -> ~[u8] {
146146
str::to_bytes(*self).from_base64()
147147
}
148148
}

0 commit comments

Comments
 (0)