Closed
Description
openedon Jun 3, 2019
The following code:
#![feature(const_generics)]
pub trait Array {
type Item;
}
impl <T, const N: usize> Array for [T; N] {
type Item = T;
}
produces the following docpage:
https://imge.to/i/vedzx
Obviously the N
is missing in the specification for what type the trait is implemented.. for [T; _]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment