We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2688777 commit dbbe909Copy full SHA for dbbe909
tests/rustdoc/impl-parts-crosscrate.rs
@@ -5,7 +5,7 @@
5
6
extern crate rustdoc_impl_parts_crosscrate;
7
8
-pub struct Bar<T> { t: T }
+pub struct Bar<T: Copy + Send> { t: T }
9
10
// The output file is html embedded in javascript, so the html tags
11
// aren't stripped by the processing script and we can't check for the
tests/rustdoc/impl-parts.rs
@@ -3,7 +3,7 @@
3
4
pub auto trait AnAutoTrait {}
-pub struct Foo<T> { field: T }
+pub struct Foo<T: Clone + Sync> { field: T }
//@ has impl_parts/struct.Foo.html '//*[@class="impl"]//h3[@class="code-header"]' \
// "impl<T> !AnAutoTrait for Foo<T>where T: Sync + Clone,"
0 commit comments