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"
179179new_without_default = " allow"
180180non_canonical_clone_impl = " allow"
181181non_canonical_partial_ord_impl = " allow"
182- partialeq_to_none = " allow"
183182ptr_arg = " allow"
184183redundant_closure = " allow"
185184redundant_pattern_matching = " allow"
Original file line number Diff line number Diff line change @@ -1253,7 +1253,7 @@ impl<'db> SemanticsImpl<'db> {
12531253 assert ! ( root_node. parent( ) . is_none( ) ) ;
12541254 let mut cache = self . cache . borrow_mut ( ) ;
12551255 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) )
12571257 }
12581258
12591259 pub fn assert_contains_node ( & self , node : & SyntaxNode ) {
You can’t perform that action at this time.
0 commit comments