mirror of
https://github.com/astral-sh/ruff
synced 2026-01-21 21:40:51 -05:00
Use #[expect(lint)] over #[allow(lint)] where possible (#17822)
This commit is contained in:
@@ -106,7 +106,6 @@ impl<'a> PyFormatContext<'a> {
|
||||
}
|
||||
|
||||
/// Returns `true` if preview mode is enabled.
|
||||
#[allow(unused)]
|
||||
pub(crate) const fn is_preview(&self) -> bool {
|
||||
self.options.preview().is_enabled()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user