]>
Commit | Line | Data |
---|---|---|
0531ce1d | 1 | // @has manual/struct.Foo.html |
17df50a5 XL |
2 | // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \ |
3 | // 'impl<T> Sync for Foo<T> where T: Sync' | |
0531ce1d | 4 | // |
17df50a5 | 5 | // @has - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]//h3[@class="code-header in-band"]' \ |
0531ce1d XL |
6 | // 'impl<T> Send for Foo<T>' |
7 | // | |
17df50a5 XL |
8 | // @count - '//*[@id="trait-implementations-list"]//*[@class="impl has-srclink"]' 1 |
9 | // @count - '//*[@id="synthetic-implementations-list"]//*[@class="impl has-srclink"]' 4 | |
0531ce1d XL |
10 | pub struct Foo<T> { |
11 | field: T, | |
12 | } | |
13 | ||
14 | unsafe impl<T> Send for Foo<T> {} |