summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-js-std/basic.js
blob: 824cac71083328dd8e001f8a137c78d7d219db66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const QUERY = 'String';

const EXPECTED = {
    'others': [
        { 'path': 'std::string', 'name': 'String' },
        { 'path': 'std::ffi', 'name': 'CString' },
        { 'path': 'std::ffi', 'name': 'OsString' },
    ],
    'in_args': [
        { 'path': 'std::str', 'name': 'eq' },
    ],
    'returned': [
        { 'path': 'std::string::String', 'name': 'add' },
    ],
};