Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
f90b15b7fc49b85a9c829b1c04475a0606f7f99f
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: 240ms 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