From cdebe7c55694f851e19ef075f948809a32f72bf2 Mon Sep 17 00:00:00 2001 From: David Szotten Date: Mon, 21 Aug 2023 13:30:19 +0100 Subject: [PATCH] remove accidental pub --- crates/ruff_python_ast/src/comparable.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_python_ast/src/comparable.rs b/crates/ruff_python_ast/src/comparable.rs index 03a6cc58aaa251..a91724b21a6772 100644 --- a/crates/ruff_python_ast/src/comparable.rs +++ b/crates/ruff_python_ast/src/comparable.rs @@ -527,8 +527,8 @@ pub enum ComparableFStringPart<'a> { pub struct FormattedValue<'a> { expression: ComparableExpr<'a>, debug_text: Option<&'a ast::DebugText>, - pub conversion: ast::ConversionFlag, - pub format_spec: Vec>, + conversion: ast::ConversionFlag, + format_spec: Vec>, } impl<'a> From<&'a ast::FStringPart> for ComparableFStringPart<'a> {