From 748e741f740ac46ec40e42679aba3b07927709c0 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 15:08:03 +0900 Subject: chore: cargo clippy --fix --- .../src/symfony/component/finder/finder.rs | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'crates/shirabe-external-packages/src/symfony/component/finder/finder.rs') diff --git a/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs index 4a19b0f..ae95aeb 100644 --- a/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs +++ b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs @@ -3,6 +3,12 @@ use crate::symfony::component::finder::spl_file_info::SplFileInfo; #[derive(Debug)] pub struct Finder; +impl Default for Finder { + fn default() -> Self { + Self::new() + } +} + impl Finder { pub fn new() -> Self { todo!() @@ -20,11 +26,11 @@ impl Finder { todo!() } - pub fn depth(&mut self, level: i64) -> &mut Self { + pub fn depth(&mut self, _level: i64) -> &mut Self { todo!() } - pub fn r#in(&mut self, dirs: &str) -> &mut Self { + pub fn r#in(&mut self, _dirs: &str) -> &mut Self { todo!() } @@ -32,23 +38,23 @@ impl Finder { todo!() } - pub fn exclude(&mut self, exclude: &[String]) -> &mut Self { + pub fn exclude(&mut self, _exclude: &[String]) -> &mut Self { todo!() } - pub fn ignore_vcs(&mut self, ignore_vcs: bool) -> &mut Self { + pub fn ignore_vcs(&mut self, _ignore_vcs: bool) -> &mut Self { todo!() } - pub fn ignore_dot_files(&mut self, ignore_dot_files: bool) -> &mut Self { + pub fn ignore_dot_files(&mut self, _ignore_dot_files: bool) -> &mut Self { todo!() } - pub fn not_name(&mut self, pattern: &str) -> &mut Self { + pub fn not_name(&mut self, _pattern: &str) -> &mut Self { todo!() } - pub fn name(&mut self, pattern: &str) -> &mut Self { + pub fn name(&mut self, _pattern: &str) -> &mut Self { todo!() } -- cgit v1.3.1