Skip to content

Commit 6becab3

Browse files
committed
---
yaml --- r: 139198 b: refs/heads/try2 c: c108409 h: refs/heads/master v: v3
1 parent 0757b87 commit 6becab3

26 files changed

+354
-354
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: be9bddd46377bc982b73acf15a720365a54197a7
8+
refs/heads/try2: c1084091d4e5472fac7e158b11120bad6ff210ff
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/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/try2/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)