mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Iterate over arrays dirrectly, instead of going through a slice
This commit is contained in:
parent
32be158630
commit
bd04416aaa
4 changed files with 5 additions and 5 deletions
|
@ -869,7 +869,7 @@ impl Test for T {{
|
|||
};
|
||||
|
||||
// Enumerate some possible next siblings.
|
||||
for next_sibling in &[
|
||||
for next_sibling in [
|
||||
"",
|
||||
"fn other_fn() {}", // `const $0 fn` -> `const fn`
|
||||
"type OtherType = i32;",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue