1
Fork 0

Update rustdoc-js* format

This commit is contained in:
Guillaume Gomez 2023-06-09 16:49:38 +02:00
parent 6b0c7c4f01
commit 9803651ee8
67 changed files with 236 additions and 400 deletions

View file

@ -1,31 +1,24 @@
// exact-check
const QUERY = [
'-> Out<First<Second>>',
'-> Out<Second<First>>',
'-> Out<First, Second>',
'-> Out<Second, First>',
];
const EXPECTED = [
{
// -> Out<First<Second>>
'query': '-> Out<First<Second>>',
'others': [
{ 'path': 'generics_nested', 'name': 'alef' },
],
},
{
// -> Out<Second<First>>
'query': '-> Out<Second<First>>',
'others': [],
},
{
// -> Out<First, Second>
'query': '-> Out<First, Second>',
'others': [
{ 'path': 'generics_nested', 'name': 'bet' },
],
},
{
// -> Out<Second, First>
'query': '-> Out<Second, First>',
'others': [
{ 'path': 'generics_nested', 'name': 'bet' },
],