Skip to content

Commit

Permalink
fix: borrow checker
Browse files Browse the repository at this point in the history
  • Loading branch information
laysakura committed Apr 4, 2023
1 parent 8d552c5 commit 60933bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/rust/src/transforms/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl<T: ElemType + PartialEq + Ord + fmt::Debug> PTransform<T, ()> for AssertEqu
let actual = input
.clone()
.apply(ParDo::from_map(|x: &T| -> Option<T> { Some(x.clone()) }));
let expected = self.expected_sorted;
let expected = self.expected_sorted.clone();
PValue::new_array(&vec![singleton, actual])
.apply(ParDo::from_map(|x: &Option<T>| -> KV<String, Option<T>> {
KV::new("".to_string(), x.clone())
Expand Down

0 comments on commit 60933bb

Please sign in to comment.