We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 198e3ab commit d5243e3Copy full SHA for d5243e3
src/test/rustdoc-js/primitive.js
@@ -0,0 +1,25 @@
1
+// exact-check
2
+
3
+const QUERY = [
4
+ "i32",
5
+ "str",
6
+ "TotoIsSomewhere",
7
+];
8
9
+const EXPECTED = [
10
+ {
11
+ 'in_args': [
12
+ { 'path': 'primitive', 'name': 'foo' },
13
+ ],
14
+ },
15
16
+ 'returned': [
17
18
19
20
21
+ 'others': [],
22
+ 'in_args': [],
23
+ 'returned': [],
24
25
src/test/rustdoc-js/primitive.rs
@@ -0,0 +1,5 @@
+pub fn foo(i: i32) -> &'static str {
+ "hello"
+}
+pub fn foo2<TotoIsSomewhere>(i: &TotoIsSomewhere, j: TotoIsSomewhere) {}
0 commit comments