1
Fork 0

rustdoc: search for slices and arrays by type with []

Part of #60485
This commit is contained in:
Michael Howell 2023-05-25 12:58:36 -07:00
parent 3ed4c17d90
commit 2e569274d3
5 changed files with 488 additions and 83 deletions

View file

@ -14,3 +14,5 @@ pub trait TraitCat {}
pub trait TraitDog {}
pub fn gamma<T: TraitCat + TraitDog>(t: [T; 32]) {}
pub fn epsilon<T: TraitCat + TraitDog>(t: &[T]) {}