mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-28 01:00:05 +08:00
22 lines
177 B
Rust
22 lines
177 B
Rust
|
fn foo<T>(t: T) -> i32
|
||
|
where
|
||
|
T: Debug,
|
||
|
{
|
||
|
1
|
||
|
}
|
||
|
|
||
|
fn foo<T>(t: T) -> i32 where
|
||
|
T: Debug,
|
||
|
{
|
||
|
1
|
||
|
}
|
||
|
|
||
|
struct Foo<T>(T);
|
||
|
|
||
|
impl<T> Write for Foo<T>
|
||
|
where
|
||
|
T: Debug,
|
||
|
{
|
||
|
|
||
|
}
|