test: Fix rustdoc and tests.
This commit is contained in:
parent
a170183ba3
commit
90d3da9711
102 changed files with 196 additions and 943 deletions
|
@ -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() };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue