remove unreachable error code

This commit is contained in:
Joe Ardent 2023-06-04 15:37:08 -07:00
parent 6b8589575c
commit edaf9e50f3
1 changed files with 1 additions and 2 deletions

View File

@ -21,7 +21,7 @@ pub(crate) const CREATE_QUERY: &str =
const ID_QUERY: &str = "select * from witches where id = $1";
//-************************************************************************
// Result types for user creation
// Error types for user creation
//-************************************************************************
#[Error(desc = "Could not create user.")]
@ -51,7 +51,6 @@ pub enum CreateUserErrorKind {
#[error(desc = "Display name must be less than 100 characters long")]
BadDisplayname,
BadEmail,
MissingFields,
UnknownDBError,
}