1
Fork 0

test: Fix rustdoc and tests.

This commit is contained in:
Patrick Walton 2013-09-16 23:37:54 -07:00
parent a170183ba3
commit 90d3da9711
102 changed files with 196 additions and 943 deletions

View file

@ -13,7 +13,7 @@
// xfail-fast
// Tests for standalone blocks as expressions with dynamic type sizes
type compare<T> = @fn(T, T) -> bool;
type compare<'self, T> = &'self fn(T, T) -> bool;
fn test_generic<T:Clone>(expected: T, eq: compare<T>) {
let actual: T = { expected.clone() };