File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ needless_doctest_main = "allow"
179
179
new_without_default = " allow"
180
180
non_canonical_clone_impl = " allow"
181
181
non_canonical_partial_ord_impl = " allow"
182
- partialeq_to_none = " allow"
183
182
ptr_arg = " allow"
184
183
redundant_closure = " allow"
185
184
redundant_pattern_matching = " allow"
Original file line number Diff line number Diff line change @@ -1253,7 +1253,7 @@ impl<'db> SemanticsImpl<'db> {
1253
1253
assert ! ( root_node. parent( ) . is_none( ) ) ;
1254
1254
let mut cache = self . cache . borrow_mut ( ) ;
1255
1255
let prev = cache. insert ( root_node, file_id) ;
1256
- assert ! ( prev == None || prev == Some ( file_id) )
1256
+ assert ! ( prev. is_none ( ) || prev == Some ( file_id) )
1257
1257
}
1258
1258
1259
1259
pub fn assert_contains_node ( & self , node : & SyntaxNode ) {
You can’t perform that action at this time.
0 commit comments