Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
4486c24db3ca1c698b34ea08bee15194774b53df
/
.
/
tests
/
rustdoc
/
const-generics
/
const-generic-slice.rs
blob: 80a9ab3f12e881e708cdb480f5fe6f8ed8c4a0e3 [
file
] [
log
] [
blame
]
#![
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
;
}