File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
crates/ide_completion/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -940,6 +940,7 @@ const OP_TRAIT_LANG_NAMES: &[&str] = &[
940
940
"deref" ,
941
941
"div_assign" ,
942
942
"div" ,
943
+ "eq" ,
943
944
"fn_mut" ,
944
945
"fn_once" ,
945
946
"fn" ,
@@ -949,14 +950,14 @@ const OP_TRAIT_LANG_NAMES: &[&str] = &[
949
950
"mul" ,
950
951
"neg" ,
951
952
"not" ,
953
+ "partial_ord" ,
952
954
"rem_assign" ,
953
955
"rem" ,
954
956
"shl_assign" ,
955
957
"shl" ,
956
958
"shr_assign" ,
957
959
"shr" ,
958
960
"sub" ,
959
- "sub" ,
960
961
] ;
961
962
#[ cfg( test) ]
962
963
mod tests {
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ pub struct CompletionRelevance {
139
139
/// }
140
140
/// ```
141
141
pub is_local : bool ,
142
- /// Set for method completions of the `core::ops` family.
142
+ /// Set for method completions of the `core::ops` and `core::cmp` family.
143
143
pub is_op_method : bool ,
144
144
/// This is set in cases like these:
145
145
///
You can’t perform that action at this time.
0 commit comments