Skip to content

Commit

Permalink
thank you clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Mar 21, 2024
1 parent 21f01af commit 491c920
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion crates/biome_cli/src/execute/process_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion crates/biome_cli/src/execute/process_file/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 0 additions & 1 deletion crates/biome_service/src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 491c920

Please sign in to comment.