mirror of
https://github.com/danog/parser.git
synced 2025-01-22 04:51:13 +01:00
chore: fmt
This commit is contained in:
parent
27b9f7bb1d
commit
0f54c4046f
@ -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,
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user