Remove redundant clones

This commit is contained in:
ayazhafiz 2021-11-21 21:23:22 -05:00
parent 5542441d42
commit 3b7596dd34

View File

@ -930,7 +930,7 @@ fn type_comparison<'b>(
instead_of: RocDocBuilder<'b>,
context_hints: Option<RocDocBuilder<'b>>,
) -> RocDocBuilder<'b> {
let comparison = to_comparison(alloc, actual.clone(), expected.clone());
let comparison = to_comparison(alloc, actual, expected);
let mut lines = vec![
i_am_seeing,