Skip to content

Commit d010895

Browse files
committed
refactor to mem replace
1 parent 99b4164 commit d010895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compute/src/render/reduce.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2348,7 +2348,7 @@ mod monoids {
23482348
fn clone_from(&mut self, source: &Self) {
23492349
use ReductionMonoid::*;
23502350

2351-
let mut row = match std::mem::take(self) {
2351+
let mut row = match std::mem::replace(self, Max(Row::default())) {
23522352
Min(row) | Max(row) => row,
23532353
};
23542354

0 commit comments

Comments
 (0)