Update src/types/form.rs

Co-authored-by: Jonas Platte <jplatte@users.noreply.github.com>
This commit is contained in:
Arniu Tseng 2021-06-01 22:36:56 +08:00 committed by GitHub
parent 4fa023f4d0
commit a449e46b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ const DEFAULT_CONFIG: FormConfig = FormConfig {
impl Default for FormConfig { impl Default for FormConfig {
fn default() -> Self { fn default() -> Self {
DEFAULT_CONFIG.clone() DEFAULT_CONFIG
} }
} }