2012-06-20 16:23:45 -07:00
|
|
|
#[link(name = "c", vers = "0.1")];
|
|
|
|
#[crate_type = "lib"];
|
|
|
|
|
|
|
|
use a;
|
|
|
|
|
|
|
|
import a::to_str;
|
|
|
|
|
2012-08-07 18:10:06 -07:00
|
|
|
impl bool: to_str {
|
2012-08-06 21:40:49 -07:00
|
|
|
fn to_str() -> ~str { fmt!{"%b", self} }
|
2012-06-20 16:23:45 -07:00
|
|
|
}
|