Make fn pub for windows compatibility

This commit is contained in:
Dan Luu 2013-10-21 07:45:16 -05:00
parent 47fc24bd8f
commit 3503d0bcd1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ use std::cmp::{Less,Equal,Greater};
struct A<'self> {
x: &'self int
}
fn main() {
pub fn main() {
let (a, b) = (A { x: &1 }, A { x: &2 });
assert!(a.equals(&a));