(&self, f: &mut fmt::Formatter<'_>)
| 55 | |
| 56 | impl fmt::Display for DiffFormat { |
| 57 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 58 | match self { |
| 59 | DiffFormat::Unified => write!(f, "unified"), |
| 60 | DiffFormat::Stat => write!(f, "stat"), |
| 61 | DiffFormat::NameOnly => write!(f, "name-only"), |
| 62 | DiffFormat::NameStatus => write!(f, "name-status"), |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | impl FromStr for DiffFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected