Skip to content

Commit 1bace01

Browse files
garethcatamorphism
authored andcommitted
---
yaml --- r: 34317 b: refs/heads/snap-stage3 c: fddc849 h: refs/heads/master i: 34315: c333a3e v: v3
1 parent 905a6ac commit 1bace01

File tree

5 files changed

+185
-191
lines changed

5 files changed

+185
-191
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 8060bd846af76798bf8585b20485cc66fbb865bc
4+
refs/heads/snap-stage3: fddc849d751cb3ed4b866cef5245b00744a8914a
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libcore/hash.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -188,11 +188,11 @@ fn SipState(key0: u64, key1: u64) -> SipState {
188188
}
189189

190190

191-
impl &SipState : io::Writer {
191+
impl SipState : io::Writer {
192192

193193
// Methods for io::writer
194194
#[inline(always)]
195-
fn write(msg: &[const u8]) {
195+
fn write(&self, msg: &[const u8]) {
196196

197197
macro_rules! u8to64_le (
198198
($buf:expr, $i:expr) =>
@@ -282,16 +282,16 @@ impl &SipState : io::Writer {
282282
self.ntail = left;
283283
}
284284

285-
fn seek(_x: int, _s: io::SeekStyle) {
285+
fn seek(&self, _x: int, _s: io::SeekStyle) {
286286
fail;
287287
}
288-
fn tell() -> uint {
288+
fn tell(&self) -> uint {
289289
self.length
290290
}
291-
fn flush() -> int {
291+
fn flush(&self) -> int {
292292
0
293293
}
294-
fn get_type() -> io::WriterType {
294+
fn get_type(&self) -> io::WriterType {
295295
io::File
296296
}
297297
}

0 commit comments

Comments
 (0)