From 491c920c96838bd47a02c41f8a984e634d2e76e7 Mon Sep 17 00:00:00 2001 From: Emanuele Stoppa <my.burning@gmail.com> Date: Thu, 21 Mar 2024 11:02:37 +0000 Subject: [PATCH] thank you clippy --- crates/biome_cli/src/execute/process_file.rs | 2 +- crates/biome_cli/src/execute/process_file/check.rs | 1 - crates/biome_service/src/workspace.rs | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/biome_cli/src/execute/process_file.rs b/crates/biome_cli/src/execute/process_file.rs index db5b9a5a2133..f59b49be0c62 100644 --- a/crates/biome_cli/src/execute/process_file.rs +++ b/crates/biome_cli/src/execute/process_file.rs @@ -12,7 +12,7 @@ use crate::execute::traverse::TraversalOptions; use crate::execute::TraversalMode; use biome_diagnostics::{category, DiagnosticExt, DiagnosticTags, Error}; use biome_fs::BiomePath; -use biome_service::workspace::{FeatureName, FeaturesBuilder, SupportKind, SupportsFeatureParams}; +use biome_service::workspace::{FeatureName, SupportKind, SupportsFeatureParams}; use std::marker::PhantomData; use std::ops::Deref; use std::path::Path; diff --git a/crates/biome_cli/src/execute/process_file/check.rs b/crates/biome_cli/src/execute/process_file/check.rs index 703e47bb78fe..02567da8bff7 100644 --- a/crates/biome_cli/src/execute/process_file/check.rs +++ b/crates/biome_cli/src/execute/process_file/check.rs @@ -16,7 +16,6 @@ pub(crate) fn check_file<'ctx>( let mut changed = false; tracing::info_span!("Process check", path =? workspace_file.path.display()).in_scope( move || { - dbg!(&path); if file_features.supports_lint() { let lint_result = lint_with_guard(ctx, &mut workspace_file); match lint_result { diff --git a/crates/biome_service/src/workspace.rs b/crates/biome_service/src/workspace.rs index 1da811a2083b..d862d566e984 100644 --- a/crates/biome_service/src/workspace.rs +++ b/crates/biome_service/src/workspace.rs @@ -221,7 +221,6 @@ impl FileFeaturesResult { /// Checks whether the file support the given `feature` fn supports_for(&self, feature: &FeatureName) -> bool { - dbg!(&self.features_supported); self.features_supported .get(feature) .map(|support_kind| matches!(support_kind, SupportKind::Supported))