mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
32500aa8e0
This is the "smartcase" behavior, described by vim and dtolnay.
25 lines
812 B
JavaScript
25 lines
812 B
JavaScript
const EXPECTED = [
|
|
{
|
|
'query': 'write',
|
|
'others': [
|
|
{ 'path': 'std::fmt', 'name': 'write' },
|
|
{ 'path': 'std::fs', 'name': 'write' },
|
|
{ 'path': 'std::ptr', 'name': 'write' },
|
|
{ 'path': 'std::fmt', 'name': 'Write' },
|
|
{ 'path': 'std::io', 'name': 'Write' },
|
|
{ 'path': 'std::hash::Hasher', 'name': 'write' },
|
|
],
|
|
},
|
|
{
|
|
'query': 'Write',
|
|
'others': [
|
|
{ 'path': 'std::fmt', 'name': 'Write' },
|
|
{ 'path': 'std::io', 'name': 'Write' },
|
|
{ 'path': 'std::fmt', 'name': 'write' },
|
|
{ 'path': 'std::fs', 'name': 'write' },
|
|
{ 'path': 'std::ptr', 'name': 'write' },
|
|
{ 'path': 'std::hash::Hasher', 'name': 'write' },
|
|
],
|
|
},
|
|
];
|