This commit adds a test case for generics, re-adds generics data
to the search index, and tweaks function indexing to use less space in JSON.
This reverts commit 14ca89446c.
8 lines
311 B
Rust
8 lines
311 B
Rust
pub trait SomeTrait {}
|
|
pub trait OtherThingxxxxxxxx {}
|
|
|
|
pub fn alef<T: OtherThingxxxxxxxx>() -> Result<T, ()> { loop {} }
|
|
pub fn bet<T: SomeTrait>() -> Result<T, ()> { loop {} }
|
|
|
|
pub fn alpha<T: OtherThingxxxxxxxx>(_param: Result<T, ()>) { loop {} }
|
|
pub fn beta<T: SomeTrait>(_param: Result<T, ()>) { loop {} }
|