(&self, f: &mut fmt::Formatter<'_>)
| 49 | |
| 50 | impl fmt::Display for QuoteStyle { |
| 51 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 52 | if let Some(ch) = self.as_char() { |
| 53 | fmt::Display::fmt(&ch, f)?; |
| 54 | } |
| 55 | Ok(()) |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | impl PartialEq<char> for QuoteStyle { |