From be6e7fd93a7d048c9458f05c515f39038286886c Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Mon, 15 Feb 2021 17:15:44 +0100 Subject: [PATCH] Remove unused parens --- musicus/src/preferences/register.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/musicus/src/preferences/register.rs b/musicus/src/preferences/register.rs index e8d204b..268b111 100644 --- a/musicus/src/preferences/register.rs +++ b/musicus/src/preferences/register.rs @@ -59,7 +59,7 @@ impl Screen<(), LoginData> for RegisterDialog { let password = this.password_entry.get_text().unwrap().to_string(); let repeat = this.repeat_password_entry.get_text().unwrap().to_string(); - if (password != repeat) { + if password != repeat { // TODO: Show error and validate other input. } else { this.widget.set_visible_child_name("loading");