rust/library/core/src/array
Matthias Krüger 2624bfbc0d
Rollup merge of #120384 - wackbyte:array-equality-generics, r=Mark-Simulacrum
Use `<T, U>` for array/slice equality `impl`s

Makes the trait implementation documentation for arrays and slices appear more consistent.

[Example](https://doc.rust-lang.org/1.75.0/std/primitive.array.html): mixed `A`, `B`, and `U`.
![List of PartialEq implementations for arrays](https://github.com/wackbyte/rust/assets/29505620/823c010e-ee57-4de1-885b-a1cd6dcaf85f)

This change makes them all `U`.
2024-02-05 11:07:27 +01:00
..
ascii.rs Add an example that depends on is_ascii in a const 2023-05-04 14:46:17 -07:00
drain.rs Allow canonicalizing the array::map loop in trusted cases 2023-02-04 16:44:51 -08:00
equality.rs Use <T, U> for array/slice equality impls 2024-01-26 12:40:04 -05:00
iter.rs remove redundant imports 2023-12-10 10:56:22 +08:00
mod.rs Rollup merge of #103522 - Dylan-DPC:76118/array-methods-stab, r=dtolnay 2024-01-26 23:15:47 +01:00