Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
647f1536d2f50b203ca9a67396225c4f7771e1c8
rust/tests/rustdoc-js-std/keyword.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
226 B
JavaScript
Raw Normal View History

Add rustdoc-js tester should-fail option
2018-06-15 23:39:20 +02:00
// ignore-order
const EXPECTED = {
Update rustdoc-js* format
2023-06-09 16:49:38 +02:00
'query': 'fn',
Add rustdoc-js tester should-fail option
2018-06-15 23:39:20 +02:00
'others': [
rustdoc-search: make primitives and keywords less special The search sorting code already sorts by item type discriminant, putting things with smaller discriminants first. There was also a special case for sorting keywords and primitives earlier, and this commit removes it by giving them lower discriminants. The sorting code has another criteria where items with descriptions appear earlier than items without, and that criteria has higher priority than the item type. This shouldn't matter, though, because primitives and keywords normally only appear in the standard library, and it always gives them descriptions.
2023-11-20 13:37:57 -07:00
{ 'path': 'std', 'name': 'fn', ty: 1 }, // 1 is for primitive types
{ 'path': 'std', 'name': 'fn', ty: 0 }, // 0 is for keywords
Add rustdoc-js tester should-fail option
2018-06-15 23:39:20 +02:00
],
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1555ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API