chore: fmt

This commit is contained in:
Ryan Chandler 2022-12-05 00:16:08 +00:00
parent 27b9f7bb1d
commit 0f54c4046f
No known key found for this signature in database
GPG Key ID: F113BCADDB3B0CCA
2 changed files with 1 additions and 7 deletions

View File

@ -791,8 +791,6 @@ impl Lexer {
// If the line does start with whitespace, let's figure out what the current
// indentation type is and how much whitespace there is.
if line_starts_with_whitespace {
let current_indentation_type = match state.peek_buf() {
[b' ', ..] => DocStringIndentationKind::Space,
[b'\t', ..] => DocStringIndentationKind::Tab,

View File

@ -1570,11 +1570,7 @@ impl Parser {
Ok(Expression::InterpolatedString { parts })
}
fn doc_string(
&self,
state: &mut State,
kind: DocStringKind,
) -> ParseResult<Expression> {
fn doc_string(&self, state: &mut State, kind: DocStringKind) -> ParseResult<Expression> {
state.next();
Ok(match kind {