mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
internal: Decrease PartialOrd and PartialEq trait methods completion relevance
This commit is contained in:
parent
fc331fe831
commit
2c36102722
2 changed files with 3 additions and 2 deletions
|
@ -940,6 +940,7 @@ const OP_TRAIT_LANG_NAMES: &[&str] = &[
|
|||
"deref",
|
||||
"div_assign",
|
||||
"div",
|
||||
"eq",
|
||||
"fn_mut",
|
||||
"fn_once",
|
||||
"fn",
|
||||
|
@ -949,6 +950,7 @@ const OP_TRAIT_LANG_NAMES: &[&str] = &[
|
|||
"mul",
|
||||
"neg",
|
||||
"not",
|
||||
"partial_ord",
|
||||
"rem_assign",
|
||||
"rem",
|
||||
"shl_assign",
|
||||
|
@ -956,7 +958,6 @@ const OP_TRAIT_LANG_NAMES: &[&str] = &[
|
|||
"shr_assign",
|
||||
"shr",
|
||||
"sub",
|
||||
"sub",
|
||||
];
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue