1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-23 11:02:35 +03:00

Fix minor code style issues

This commit is contained in:
Quentin Gliech
2021-09-16 14:54:00 +02:00
parent a44e33931c
commit 721b67fe48
11 changed files with 48 additions and 24 deletions

View File

@@ -93,7 +93,8 @@ pub struct ErroredForm<FieldType> {
}
impl<T> ErroredForm<T> {
#[must_use] pub fn new() -> Self {
#[must_use]
pub fn new() -> Self {
Self {
form: Vec::new(),
fields: Vec::new(),