Implement a common trait for the string flags (#11564)

This commit is contained in:
Alex Waygood
2024-05-27 16:02:01 +01:00
committed by GitHub
parent 6be00d5775
commit 246a3388ee
20 changed files with 184 additions and 153 deletions

View File

@@ -2,7 +2,7 @@ use std::borrow::Cow;
use std::iter::FusedIterator;
use ruff_formatter::FormatContext;
use ruff_python_ast::{str::Quote, AnyStringFlags};
use ruff_python_ast::{str::Quote, AnyStringFlags, StringFlags};
use ruff_source_file::Locator;
use ruff_text_size::{Ranged, TextRange};