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
bae2b51c5f45856eb9c214e5454d2edc48b38c24
rust/tests/rustdoc-js/search-bag-semantics.js

18 lines
384 B
JavaScript
Raw Normal View History

rustdoc: implement bag semantics for function parameter search This tweak to the function signature search engine makes things so that, if a type is repeated in the search query, it'll only match if the function actually includes it that many times.
2023-03-18 15:36:56 -07:00
// exact-check
const EXPECTED = [
{
Update rustdoc-js* format
2023-06-09 16:49:38 +02:00
'query': 'P',
rustdoc: implement bag semantics for function parameter search This tweak to the function signature search engine makes things so that, if a type is repeated in the search query, it'll only match if the function actually includes it that many times.
2023-03-18 15:36:56 -07:00
'in_args': [
{ 'path': 'search_bag_semantics', 'name': 'alacazam' },
{ 'path': 'search_bag_semantics', 'name': 'abracadabra' },
],
},
{
Update rustdoc-js* format
2023-06-09 16:49:38 +02:00
'query': 'P, P',
rustdoc: implement bag semantics for function parameter search This tweak to the function signature search engine makes things so that, if a type is repeated in the search query, it'll only match if the function actually includes it that many times.
2023-03-18 15:36:56 -07:00
'others': [
{ 'path': 'search_bag_semantics', 'name': 'abracadabra' },
],
},
];
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 251ms Template: 4ms
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