Add a warning.
(mut self, warning: impl Into<String>)
| 183 | |
| 184 | /// Add a warning. |
| 185 | pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self { |
| 186 | self.warnings.push(warning.into()); |
| 187 | self |
| 188 | } |
| 189 | |
| 190 | /// Returns `true` if a change was recorded during this dispatch. |
| 191 | pub fn was_recorded(&self) -> bool { |