We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a545fa3 + 9352610 commit 8d6e349Copy full SHA for 8d6e349
tests/rustdoc-js/alias-sort.js
@@ -0,0 +1,10 @@
1
+// rank doc aliases lower than exact matches
2
+// regression test for <https://github.com/rust-lang/rust/issues/140968>
3
+
4
+const EXPECTED = {
5
+ 'query': 'foobazbar',
6
+ 'others': [
7
+ { 'name': 'foobazbar' },
8
+ { 'name': 'foo' },
9
+ ],
10
+};
tests/rustdoc-js/alias-sort.rs
@@ -0,0 +1,5 @@
+/// asdf
+pub fn foobazbar() {}
+#[doc(alias("foobazbar"))]
+pub fn foo() {}
0 commit comments