mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Fix clippy.
This commit is contained in:
parent
e5007e880c
commit
0935fa57e8
@ -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())
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user