Allow classes to be cast to ifaces that are in the same crate
I had to xfail one existing test case (class-implements-int) because, I think, of the same bug described in #2272.
This commit is contained in:
@@ -448,7 +448,7 @@ fn map<T, U>(v: [T], f: fn(T) -> U) -> [U] {
|
||||
}
|
||||
|
||||
#[doc = "
|
||||
Apply a function eo each element of a vector and return a concatenation
|
||||
Apply a function to each element of a vector and return a concatenation
|
||||
of each result vector
|
||||
"]
|
||||
fn flat_map<T, U>(v: [T], f: fn(T) -> [U]) -> [U] {
|
||||
|
||||
Reference in New Issue
Block a user