diff options
| author | Michael Howell <michael@notriddle.com> | 2023-09-22 17:27:06 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-11-19 18:54:36 -0700 |
| commit | 63c50712f40055a60aefc8069661c3847bd27df4 (patch) | |
| tree | fd35e82b0a00c87a0f383f8b1d37d8dc7f3a4dcd /tests/rustdoc-js/trait-methods.rs | |
| parent | 9a66e4471f71283fd54d80ef8147630d34756332 (diff) | |
| download | rust-63c50712f40055a60aefc8069661c3847bd27df4.tar.gz rust-63c50712f40055a60aefc8069661c3847bd27df4.zip | |
rustdoc-search: add support for associated types
Diffstat (limited to 'tests/rustdoc-js/trait-methods.rs')
| -rw-r--r-- | tests/rustdoc-js/trait-methods.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/rustdoc-js/trait-methods.rs b/tests/rustdoc-js/trait-methods.rs new file mode 100644 index 00000000000..c88f5edfd55 --- /dev/null +++ b/tests/rustdoc-js/trait-methods.rs @@ -0,0 +1,4 @@ +pub trait MyTrait { + type Item; + fn next(&mut self) -> Option<Self::Item>; +} |
