From 0935fa57e823f9326de51f253bc52ac8b42d93c2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 20 Sep 2024 09:43:29 -0400 Subject: [PATCH] Fix clippy. --- src/scheduled_tasks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheduled_tasks.rs b/src/scheduled_tasks.rs index fb7fdc555..dd189ddd1 100644 --- a/src/scheduled_tasks.rs +++ b/src/scheduled_tasks.rs @@ -493,7 +493,7 @@ async fn build_update_instance_form( // not every Fediverse instance has a valid Nodeinfo endpoint (its not required for // Activitypub). That's why we always need to mark instances as updated if they are // alive. - let instance_form = InstanceForm { + let mut instance_form = InstanceForm { updated: Some(naive_now()), ..InstanceForm::new(domain.to_string()) };