Commit Graph

5 Commits

Author SHA1 Message Date
Samuel Tardieu
44aa75fd2a manual_slice_fill: initializer must not reference the iterator
```rust
let mut tmp = vec![1, 2, 3];
for b in &mut tmp {
    *b = !*b;
}
```

must not suggest the invalid `tmp.fill(!*b)`.
2025-02-15 15:56:41 +01:00
Guillaume Gomez
1f94d55a18 Fix new tests updates 2025-02-15 13:38:42 +01:00
Guillaume Gomez
f666fd6417 Update UI tests 2025-02-15 13:38:16 +01:00
lapla-cogito
7139436f98 add index checks for the slice in manual_slice_fill 2025-02-11 16:13:26 +09:00
lapla-cogito
e82b1f4653 add manual_slice_fill lint 2025-02-03 10:09:39 +09:00