(&self, f: &mut fmt::Formatter<'_>)
| 32 | |
| 33 | impl fmt::Display for DiffFormat { |
| 34 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 35 | match self { |
| 36 | DiffFormat::Unified => write!(f, "unified"), |
| 37 | DiffFormat::Stat => write!(f, "stat"), |
| 38 | DiffFormat::NameOnly => write!(f, "name-only"), |
| 39 | DiffFormat::NameStatus => write!(f, "name-status"), |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | impl FromStr for DiffFormat { |
nothing calls this directly
no outgoing calls
no test coverage detected