From aa25cbe911c9105da50efb71e87cdf7eeeee78e9 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Mon, 8 Jul 2013 10:45:25 -0600 Subject: [PATCH] Warning police. --- base.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/base.rs b/base.rs index e14b94a..cdc0dd7 100644 --- a/base.rs +++ b/base.rs @@ -11,8 +11,6 @@ use appkit::NSRect; use std::libc; use std::libc::c_long; -use std::io; -use std::str; pub type id = libc::intptr_t; pub type Class = libc::intptr_t; @@ -20,7 +18,7 @@ pub type IMP = *u8; pub type SEL = libc::intptr_t; pub type Ivar = libc::intptr_t; -pub static nil : id = 0 as id; +pub static NIL : id = 0 as id; pub extern { fn class_addMethod(cls: Class, name: SEL, imp: IMP, types: *libc::c_char) -> bool;