Skip to content

Commit 58cc964

Browse files
committed
fix: formatting in handlers/unresolved_method.rs
1 parent e3d0939 commit 58cc964

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/rust-analyzer/crates/ide-diagnostics/src/handlers/unresolved_method.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,7 @@ fn assoc_func_fix(ctx: &DiagnosticsContext<'_>, d: &hir::UnresolvedMethodCall) -
161161
// we could omit generic parameters cause compiler can deduce it automatically
162162
if !need_to_take_receiver_as_first_arg && !generic_parameters.is_empty() {
163163
let generic_parameters = generic_parameters.join(", ");
164-
receiver_type_adt_name =
165-
format!("{receiver_type_adt_name}::<{generic_parameters}>");
164+
receiver_type_adt_name = format!("{receiver_type_adt_name}::<{generic_parameters}>");
166165
}
167166

168167
let method_name = call.name_ref()?;

0 commit comments

Comments
 (0)