mirror of https://github.com/astral-sh/ruff
cargo clippy --fix
This commit is contained in:
parent
e9861177ed
commit
e491de2d2b
|
|
@ -4,19 +4,11 @@ use crate::display_settings;
|
|||
use ruff_macros::CacheKey;
|
||||
use std::fmt::{Display, Formatter};
|
||||
|
||||
#[derive(Debug, Clone, CacheKey)]
|
||||
#[derive(Debug, Clone, CacheKey, Default)]
|
||||
pub struct Settings {
|
||||
pub additional_path_functions: Vec<String>,
|
||||
}
|
||||
|
||||
impl Default for Settings {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
additional_path_functions: vec![],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Display for Settings {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result {
|
||||
display_settings! {
|
||||
|
|
|
|||
Loading…
Reference in New Issue