Fix clippy.

This commit is contained in:
Dessalines 2024-09-20 09:43:29 -04:00
parent e5007e880c
commit 0935fa57e8

View File

@ -493,7 +493,7 @@ async fn build_update_instance_form(
// not every Fediverse instance has a valid Nodeinfo endpoint (its not required for // 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 // Activitypub). That's why we always need to mark instances as updated if they are
// alive. // alive.
let instance_form = InstanceForm { let mut instance_form = InstanceForm {
updated: Some(naive_now()), updated: Some(naive_now()),
..InstanceForm::new(domain.to_string()) ..InstanceForm::new(domain.to_string())
}; };