Skip to content

Commit 888b935

Browse files
Fix build
1 parent c67d69c commit 888b935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ide/src/inlay_hints.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ fn is_param_name_similar_to_fn_name(
318318
(0, Some(function)) => {
319319
function == param_name
320320
|| (function.len() > param_name.len()
321-
&& function.ends_with(param_name))
322-
&& function[..function.len() - param_name.len()].ends_with('_')
321+
&& function.ends_with(param_name)
322+
&& function[..function.len() - param_name.len()].ends_with('_'))
323323
}
324324
_ => false,
325325
}

0 commit comments

Comments
 (0)