Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutomic committed Jul 4, 2023
1 parent 3e0fb10 commit 79e3dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scheduled_tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ fn update_instance_software(conn: &mut PgConnection, user_agent: &str) -> LemmyR
InstanceForm::builder()
.domain(instance.domain)
.updated(Some(naive_now()))
.software(node_info.software.and_then(|s| s.name.clone()))
.software(node_info.software.and_then(|s| s.name))
.version(node_info.version.clone())
.build(),
)
Expand Down

0 comments on commit 79e3dc2

Please sign in to comment.