summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-js-std/option-type-signatures.js
blob: 6bf421a21356072eda42297d227e7de6bf7492f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
const QUERY = [
    'option, fnonce -> option',
    'option -> default',
];

const EXPECTED = [
    {
        'others': [
            { 'path': 'std::option::Option', 'name': 'map' },
        ],
    },
    {
        'others': [
            { 'path': 'std::option::Option', 'name': 'unwrap_or_default' },
            { 'path': 'std::option::Option', 'name': 'get_or_insert_default' },
        ],
    },
];