Skip to content

Commit 7e6355a

Browse files
committed
Merge remote-tracking branch 'tomaka/master'
2 parents 21b0317 + 19fe936 commit 7e6355a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/ffi/list.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,12 @@ impl List {
3030
self.len += 1;
3131
self.head = unsafe { curl_slist_append(self.head, val.as_ptr()) };
3232
}
33-
}
3433

35-
impl Collection for List {
36-
fn len(&self) -> uint {
34+
pub fn len(&self) -> uint {
3735
self.len
3836
}
3937

40-
fn is_empty(&self) -> bool {
38+
pub fn is_empty(&self) -> bool {
4139
self.len == 0
4240
}
4341
}

src/test/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ impl OpSequenceResult {
210210
pub fn assert(&self) {
211211
match self.rx.recv() {
212212
Ok(_) => {}
213-
Err(e) => fail!("http exchange did not proceed as expected: {}", e)
213+
Err(e) => panic!("http exchange did not proceed as expected: {}", e)
214214
}
215215
}
216216
}

0 commit comments

Comments
 (0)