(&self, f: &mut std::fmt::Formatter<'_>)
| 268 | |
| 269 | impl Display for BenchmarkReportStatus { |
| 270 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 271 | match self { |
| 272 | BenchmarkReportStatus::Improvement => { |
| 273 | write!(f, "{}", style("Improvement").green().bold()) |
| 274 | } |
| 275 | BenchmarkReportStatus::Missing => write!(f, "{}", style("Missing").yellow().bold()), |
| 276 | BenchmarkReportStatus::New => write!(f, "{}", style("New").cyan().bold()), |
| 277 | BenchmarkReportStatus::NoChange => write!(f, "{}", style("No Change").dim()), |
| 278 | BenchmarkReportStatus::Regression => write!(f, "{}", style("Regression").red().bold()), |
| 279 | } |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | nest! { |
nothing calls this directly
no outgoing calls
no test coverage detected