(mut self, hint: S)
| 180 | |
| 181 | impl WithErrorInfo for Error { |
| 182 | fn push_hint<S: Into<String>>(mut self, hint: S) -> Self { |
| 183 | self.hints.push(hint.into()); |
| 184 | self |
| 185 | } |
| 186 | |
| 187 | fn with_hints<S: Into<String>, I: IntoIterator<Item = S>>(mut self, hints: I) -> Self { |
| 188 | self.hints = hints.into_iter().map(|x| x.into()).collect(); |
no test coverage detected