Files
rust/tests/rustdoc-js-std/trait-unbox.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
394 B
JavaScript
Raw Normal View History

// make sure type-based searches with traits get unboxed too
const EXPECTED = [
{
'query': 'any -> result<box>',
'others': [
{ 'path': 'std::boxed::Box', 'name': 'downcast' },
],
},
{
'query': 'split<bufread> -> option<result<vec<u8>>>',
'others': [
{ 'path': 'std::io::Split', 'name': 'next' },
],
},
];