summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js/substring.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc-js/substring.rs')
-rw-r--r--tests/rustdoc-js/substring.rs21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/rustdoc-js/substring.rs b/tests/rustdoc-js/substring.rs
new file mode 100644
index 000000000..e729c722c
--- /dev/null
+++ b/tests/rustdoc-js/substring.rs
@@ -0,0 +1,21 @@
+pub struct SuperWaker;
+
+impl SuperWaker {
+ pub fn local_waker_from_nonlocal() {}
+ pub fn local_waker_frm_nonlocal() {}
+ pub fn some_method() {}
+ pub fn some_other_method() {}
+ pub fn waker_non_local() {}
+ pub fn from_non_local() {}
+}
+
+pub struct SuperWakerTask;
+
+impl SuperWakerTask {
+ pub fn local_waker_from_nonlocal() {}
+ pub fn local_waker_frm_nonlocal() {}
+ pub fn some_method() {}
+ pub fn some_other_method() {}
+ pub fn waker_non_local() {}
+ pub fn from_non_local() {}
+}