Skip to content

Commit 478dba2

Browse files
committed
Update tests to master
1 parent 1657731 commit 478dba2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/lib.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ extern crate core;
3131

3232
#[phase(plugin, link)]
3333
#[cfg(test)] extern crate std;
34-
#[cfg(test)] extern crate native;
3534

3635
use core::ptr::PtrExt;
3736

@@ -91,8 +90,8 @@ pub unsafe extern fn memcmp(s1: *const u8, s2: *const u8, n: uint) -> i32 {
9190

9291
#[cfg(test)]
9392
mod test {
94-
use core::str::StrSlice;
95-
use core::slice::{MutableSlice, ImmutableSlice};
93+
use core::str::StrExt;
94+
use core::slice::SliceExt;
9695

9796
use super::{memcmp, memset, memcpy, memmove};
9897

0 commit comments

Comments
 (0)