File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/ty_python_semantic/src/semantic_index Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,8 @@ pub(crate) struct PlaceTable {
148148
149149impl get_size2:: GetSize for PlaceTable {
150150 fn get_heap_size ( & self ) -> usize {
151- let symbols = self . symbols . get_size ( ) ;
152- let members = self . members . get_size ( ) ;
151+ let symbols = self . symbols . get_heap_size ( ) ;
152+ let members = self . members . get_heap_size ( ) ;
153153
154154 increment_memory_usage ( "symbols" , symbols) ;
155155 increment_memory_usage ( "members" , members) ;
@@ -558,7 +558,7 @@ impl Iterator for ParentPlaceIter<'_> {
558558 members,
559559 ) ) ;
560560
561- if let Some ( id) = members. member_id ( next_member. clone ( ) ) {
561+ if let Some ( id) = members. member_id ( next_member) {
562562 break Some ( id. into ( ) ) ;
563563 }
564564 }
You can’t perform that action at this time.
0 commit comments