Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7a58a23

Browse files
committed
internal: format code
1 parent fd0cddf commit 7a58a23

File tree

1 file changed

+4
-2
lines changed
  • crates/hir-ty/src/diagnostics

1 file changed

+4
-2
lines changed

crates/hir-ty/src/diagnostics/expr.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,10 @@ impl FilterMapNextChecker {
442442

443443
if *function_id == self.next_function_id? {
444444
if let Some(prev_filter_map_expr_id) = self.prev_filter_map_expr_id {
445-
let is_dyn_trait =
446-
self.prev_receiver_ty.as_ref().map_or(false, |it| it.strip_references().dyn_trait().is_some());
445+
let is_dyn_trait = self
446+
.prev_receiver_ty
447+
.as_ref()
448+
.map_or(false, |it| it.strip_references().dyn_trait().is_some());
447449
if *receiver_expr_id == prev_filter_map_expr_id && !is_dyn_trait {
448450
return Some(());
449451
}

0 commit comments

Comments
 (0)