1 type Result<T, E = Error> = ::std::result::Result<T, E>;
6 fn for_each<F, U>(self, f: F)
8 F: FnOnce(Self::Input) -> U;
11 impl<T> ForEach for A<T> {
13 fn for_each<F, U>(self, f: F)
15 F: FnOnce(Self::Input) -> U,
24 let a = A(Result::Ok(Result::Ok(()))); //~ ERROR type annotations needed
25 a.for_each(|a: Result<_>| {