Skip to content

Commit 14ac0a3

Browse files
committed
fix r-a
1 parent e2ec115 commit 14ac0a3

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/crates/hir-ty/src

1 file changed

+1
-1
lines changed

Diff for: src/tools/rust-analyzer/crates/hir-ty/src/display.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ fn generic_args_sans_defaults<'ga>(
14621462
// otherwise, if the arg is equal to the param default, hide it (unless the
14631463
// default is an error which can happen for the trait Self type)
14641464
#[allow(unstable_name_collisions)]
1465-
default_parameters.get(i).is_none_or(|default_parameter| {
1465+
IsNoneOr::is_none_or(default_parameters.get(i), |default_parameter| {
14661466
// !is_err(default_parameter.skip_binders())
14671467
// &&
14681468
arg != &default_parameter.clone().substitute(Interner, &parameters)

0 commit comments

Comments
 (0)