Open
Description
I have a type alias for a type that implements Deref<Target=[T]
, but Rustdoc doesnt generate the corresponding section in the sidebar like it does for the concrete type I'm aliasing
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub struct Col<T: Copy, const N: usize> {
data: [T; N],
}
pub type Mat<T, const H: usize, const W: usize> = Col<Col<T, W>, H>;
// snip
impl<T: Copy, const N: usize> Deref for Col<T, N> {
type Target = [T];
fn deref(&self) -> &Self::Target {
&self.data
}
}
rustdoc 1.82.0 (f6e511e 2024-10-15) on macOS 15.2