From 0220f0372937ed179aa84fa6e2250933cd3e3896 Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Thu, 5 Nov 2020 02:35:15 +0100 Subject: remove redundancy in mumlib --- mumd/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd/src/state.rs') diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 37ff612..a767d30 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -303,7 +303,7 @@ impl State { let (id, user) = match id { Some(id) => (*id.0, id.1), - None => return now!(Err(Error::InvalidUserIdentifierError(string))), + None => return now!(Err(Error::InvalidUsernameError(string))), }; let action = match toggle { -- cgit v1.2.1