2019-06-07 00:58:32 +02:00
|
|
|
#![crate_name = "foo"]
|
|
|
|
|
|
|
|
pub trait Array {
|
|
|
|
type Item;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @has foo/trait.Array.html
|
2021-06-02 10:59:10 +02:00
|
|
|
// @has - '//div[@class="impl has-srclink"]' 'impl<T, const N: usize> Array for [T; N]'
|
2019-06-07 00:58:32 +02:00
|
|
|
impl <T, const N: usize> Array for [T; N] {
|
|
|
|
type Item = T;
|
|
|
|
}
|