(&self, content: &str)
| 166 | } |
| 167 | |
| 168 | fn validate(&self, content: &str) -> Result<(), TargetError> { |
| 169 | Config::from_str_with_validation(content).map_err(|e| TargetError::Validation { |
| 170 | details: e.to_string(), |
| 171 | })?; |
| 172 | Ok(()) |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | #[cfg(test)] |