From a449e46b9f2a8d6d369caf6c08b75d21a8e47a86 Mon Sep 17 00:00:00 2001 From: Arniu Tseng Date: Tue, 1 Jun 2021 22:36:56 +0800 Subject: [PATCH] Update src/types/form.rs Co-authored-by: Jonas Platte --- src/types/form.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/form.rs b/src/types/form.rs index 39274bf39..d999b35d8 100644 --- a/src/types/form.rs +++ b/src/types/form.rs @@ -247,7 +247,7 @@ const DEFAULT_CONFIG: FormConfig = FormConfig { impl Default for FormConfig { fn default() -> Self { - DEFAULT_CONFIG.clone() + DEFAULT_CONFIG } }