mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 12:37:37 +00:00
9 lines
324 B
Rust
9 lines
324 B
Rust
![]() |
// @has basic/struct.Foo.html
|
||
|
// @has - '//code' 'impl<T> Send for Foo<T> where T: Send'
|
||
|
// @has - '//code' 'impl<T> Sync for Foo<T> where T: Sync'
|
||
|
// @count - '//*[@id="implementations-list"]/*[@class="impl"]' 0
|
||
|
// @count - '//*[@id="synthetic-implementations-list"]/*[@class="impl"]' 2
|
||
|
pub struct Foo<T> {
|
||
|
field: T,
|
||
|
}
|