Skip to content

Commit

Permalink
Remove use of std::io.
Browse files Browse the repository at this point in the history
  • Loading branch information
metajack committed Oct 31, 2013
1 parent be5091e commit aeb2040
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ extern {

#[cfg(test)]
mod test {
use std::{io, libc};
use std::libc;
use super::*;

#[test]
Expand All @@ -64,15 +64,15 @@ mod test {

unsafe {
let nsapp = objc_msgSend(klass, sel);
io::println(format!("nsapp: {:d}", (nsapp as int)));
println!("nsapp: {:d}", (nsapp as int));
}
}

#[test]
#[fixed_stack_segment]
pub fn test_custom_obj() {
extern fn MyObject_doSomething(this : id, _sel : SEL) -> id {
io::println("doSomething");
println!("doSomething");
return this;
}

Expand Down

0 comments on commit aeb2040

Please sign in to comment.