(&self, f: &mut fmt::Formatter<'_>)
| 73 | |
| 74 | impl fmt::Display for InterpolatedStringKind { |
| 75 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 76 | match self { |
| 77 | InterpolatedStringKind::FString => f.write_str("f-string"), |
| 78 | InterpolatedStringKind::TString => f.write_str("t-string"), |
| 79 | } |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | enum EscapedChar { |