We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb1921e commit c27f459Copy full SHA for c27f459
interactive_engine/executor/engine/pegasus/pegasus/src/communication/buffer.rs
@@ -118,7 +118,7 @@ impl<D: Data> BufSlotPtr<D> {
118
fn destroy(&mut self) {
119
unsafe {
120
let ptr = self.ptr;
121
- Box::from_raw(ptr.as_ptr());
+ drop(Box::from_raw(ptr.as_ptr()));
122
}
123
124
interactive_engine/executor/store/exp_store/src/graph_db/csr_topo.rs
@@ -44,7 +44,7 @@ impl<I: IndexType> MutEdgeVec<I> {
44
let mut num_edges = 0;
45
// will be sorted via label
46
for label in adj.keys().cloned().sorted() {
47
- for vec in adj.get_mut(&label) {
+ if let Some(vec) = adj.get_mut(&label) {
48
vec.sort();
49
self.offsets[node]
50
.inner
0 commit comments