Ruff 2024.2 style (#9639)
This commit is contained in:
@@ -99,6 +99,7 @@ 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