Skip to content

Commit c246135

Browse files
committed
Fix comment in test
1 parent 6906ae9 commit c246135

File tree

1 file changed

+1
-2
lines changed
  • crates/rust-analyzer/src/config

1 file changed

+1
-2
lines changed

crates/rust-analyzer/src/config/tree.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ mod tests {
647647
// from /root/rust-analyzer.toml
648648
assert_eq!(local.completion_autoself_enable, false);
649649

650+
// Send in an empty change, should have no effect
650651
let changes = ConfigChanges {
651652
client_change: None,
652653
set_project_root: None,
@@ -655,8 +656,6 @@ mod tests {
655656
};
656657
config_tree.apply_changes(changes, &mut vfs);
657658
let local = config_tree.local_config(crate_a);
658-
// initially crate_a is part of the project root, so it does inherit
659-
// from /root/rust-analyzer.toml
660659
assert_eq!(local.completion_autoself_enable, false);
661660
}
662661
}

0 commit comments

Comments
 (0)