mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-26 20:10:09 +00:00
Remove initial field
This commit is contained in:
parent
1a68a38306
commit
f30e5e45ab
1 changed files with 0 additions and 3 deletions
|
@ -56,7 +56,6 @@ pub struct Checker<'a> {
|
|||
deferred_lambdas: Vec<(&'a Expr, Vec<usize>, Vec<usize>)>,
|
||||
deferred_assignments: Vec<usize>,
|
||||
// Internal, derivative state.
|
||||
pub(crate) initial: bool,
|
||||
in_f_string: Option<Range>,
|
||||
in_annotation: bool,
|
||||
in_literal: bool,
|
||||
|
@ -91,7 +90,6 @@ impl<'a> Checker<'a> {
|
|||
deferred_functions: Default::default(),
|
||||
deferred_lambdas: Default::default(),
|
||||
deferred_assignments: Default::default(),
|
||||
initial: true,
|
||||
in_f_string: None,
|
||||
in_annotation: Default::default(),
|
||||
in_literal: Default::default(),
|
||||
|
@ -562,7 +560,6 @@ where
|
|||
StmtKind::Delete { .. } => {}
|
||||
_ => {}
|
||||
}
|
||||
self.initial = false;
|
||||
|
||||
// Recurse.
|
||||
match &stmt.node {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue