Skip to content

Commit

Permalink
Make main public to accommodate check-fast
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Nov 9, 2013
1 parent b32845d commit a15196c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ fn use_<'a>(c: Contravariant<'a>) {
fn collapse<'b>(x: &'b int, c: Contravariant<'b>) { }
}

fn main() {}
pub fn main() {}
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ fn use_<'a>(c: Covariant<'a>) {
let _: Covariant<'static> = c;
}

fn main() {}
pub fn main() {}

1 comment on commit a15196c

@nikomatsakis
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=pnkfelix

Please sign in to comment.