(&self, f: &mut fmt::Formatter<'_>)
| 191 | } |
| 192 | impl<E: fmt::Display> fmt::Display for ErrorStream<E> { |
| 193 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 194 | writeln!(f, "Errors occurred:")?; |
| 195 | for error in self.iter() { |
| 196 | writeln!(f, "{error}\n")?; |
| 197 | } |
| 198 | Ok(()) |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | impl<E: Ord + Eq> ErrorStream<E> { |