mirror of https://github.com/LemmyNet/lemmy.git
Fix clippy
parent
f5b0f77863
commit
0f191e16cf
|
@ -420,7 +420,7 @@ mod tests {
|
|||
let read_jessica_report_view_after_resolve =
|
||||
CommentReportView::read(&conn, inserted_jessica_report.id).unwrap();
|
||||
|
||||
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view.clone();
|
||||
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view;
|
||||
expected_jessica_report_view_after_resolve
|
||||
.comment_report
|
||||
.resolved = true;
|
||||
|
|
|
@ -404,7 +404,7 @@ mod tests {
|
|||
let read_jessica_report_view_after_resolve =
|
||||
PostReportView::read(&conn, inserted_jessica_report.id).unwrap();
|
||||
|
||||
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view.clone();
|
||||
let mut expected_jessica_report_view_after_resolve = expected_jessica_report_view;
|
||||
expected_jessica_report_view_after_resolve
|
||||
.post_report
|
||||
.resolved = true;
|
||||
|
|
Loading…
Reference in New Issue