From ea30464a2de741ff5e7a21e1052e120c379abaaf Mon Sep 17 00:00:00 2001 From: Brent Westbrook Date: Tue, 9 Dec 2025 08:52:39 -0500 Subject: [PATCH] clippy --- crates/ruff_python_formatter/src/expression/expr_lambda.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/ruff_python_formatter/src/expression/expr_lambda.rs b/crates/ruff_python_formatter/src/expression/expr_lambda.rs index 082e694d8f..1ec2a1492a 100644 --- a/crates/ruff_python_formatter/src/expression/expr_lambda.rs +++ b/crates/ruff_python_formatter/src/expression/expr_lambda.rs @@ -1,13 +1,10 @@ use ruff_formatter::{FormatRuleWithOptions, RemoveSoftLinesBuffer, format_args, write}; use ruff_python_ast::{AnyNodeRef, Expr, ExprLambda}; -use ruff_python_trivia::SimpleTokenizer; -use ruff_text_size::{Ranged, TextRange}; +use ruff_text_size::Ranged; use crate::builders::parenthesize_if_expands; use crate::comments::{dangling_comments, leading_comments, trailing_comments}; -use crate::expression::parentheses::{ - NeedsParentheses, OptionalParentheses, Parentheses, is_expression_parenthesized, -}; +use crate::expression::parentheses::{NeedsParentheses, OptionalParentheses, Parentheses}; use crate::expression::{CallChainLayout, has_own_parentheses}; use crate::other::parameters::ParametersParentheses; use crate::prelude::*;