mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
74e843c833
Stopped being used in CSS with
73d0f7c7b6
12 lines
227 B
Rust
12 lines
227 B
Rust
#![crate_name = "foo"]
|
|
|
|
pub trait Array {
|
|
type Item;
|
|
}
|
|
|
|
// @has foo/trait.Array.html
|
|
// @has - '//*[@class="impl"]' 'impl<T, const N: usize> Array for [T; N]'
|
|
impl<T, const N: usize> Array for [T; N] {
|
|
type Item = T;
|
|
}
|