Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clippy
  • Loading branch information
ShaharNaveh committed Jun 28, 2026
commit 1bb8fa969e03238cb396f615d0e79a05e627b2f6
2 changes: 1 addition & 1 deletion crates/codegen/src/preprocess.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ struct AstPreprocessor {
}

impl AstPreprocessor {
fn visit_astfold_body(&self, body: &mut ast::Suite) {
fn visit_astfold_body(self, body: &mut ast::Suite) {
let mut docstring = body_starts_with_docstring(body);
if docstring && self.optimize >= 2 {
remove_docstring_from_body(body);
Expand Down
Loading