Skip to content

Commit 10aa999

Browse files
committed
fix: typo
1 parent d40c0fe commit 10aa999

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/ide-assists/src/handlers/extract_module.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,9 @@ impl Module {
467467
.filter(|x| find_node_at_range::<ast::Use>(file.syntax(), x.range).is_none())
468468
.filter_map(|x| find_node_at_range::<ast::Path>(file.syntax(), x.range))
469469
{
470-
let in_selectin = selection_range.contains_range(x.syntax().text_range());
471-
uses_exist_in_sel |= in_selectin;
472-
uses_exist_out_sel |= !in_selectin;
470+
let in_selection = selection_range.contains_range(x.syntax().text_range());
471+
uses_exist_in_sel |= in_selection;
472+
uses_exist_out_sel |= !in_selection;
473473

474474
if uses_exist_in_sel && uses_exist_out_sel {
475475
break 'outside;

0 commit comments

Comments
 (0)