Make fn pub for windows compatibility
This commit is contained in:
parent
47fc24bd8f
commit
3503d0bcd1
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user