Add a warning.
(mut self, warning: impl Into<String>)
| 170 | |
| 171 | /// Add a warning. |
| 172 | pub(crate) fn with_warning(mut self, warning: impl Into<String>) -> Self { |
| 173 | self.warnings.push(warning.into()); |
| 174 | self |
| 175 | } |
| 176 | |
| 177 | /// Returns `true` if a change was recorded during this dispatch. |
| 178 | pub fn was_recorded(&self) -> bool { |