Skip to content

Commit 28fff25

Browse files
committed
fix just take the row
1 parent d010895 commit 28fff25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compute/src/render/reduce.rs

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

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

23552355
let source_row = match source {
23562356
Min(row) | Max(row) => row,

0 commit comments

Comments
 (0)