(&self, f: &mut std::fmt::Formatter<'_>)
| 225 | |
| 226 | impl Display for BenchmarkReportStatus { |
| 227 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 228 | match self { |
| 229 | BenchmarkReportStatus::Improvement => { |
| 230 | write!(f, "{}", style("Improvement").green().bold()) |
| 231 | } |
| 232 | BenchmarkReportStatus::Missing => write!(f, "{}", style("Missing").yellow().bold()), |
| 233 | BenchmarkReportStatus::New => write!(f, "{}", style("New").cyan().bold()), |
| 234 | BenchmarkReportStatus::NoChange => write!(f, "{}", style("No Change").dim()), |
| 235 | BenchmarkReportStatus::Regression => write!(f, "{}", style("Regression").red().bold()), |
| 236 | } |
| 237 | } |
| 238 | } |
| 239 | |
| 240 | nest! { |
nothing calls this directly
no outgoing calls
no test coverage detected