Remove needless return

This commit is contained in:
Victor Mignot 2022-10-18 23:29:15 -04:00
parent e951b3012e
commit 3a80a0fad6
No known key found for this signature in database
GPG key ID: FFE4EF056FB5E0D0

View file

@ -75,7 +75,7 @@ impl<'a> Client {
pub async fn connect_discord(&mut self) -> Result<(), ClientsError> {
match self.discord_client.start().await {
Ok(_) => Ok(()),
Err(e) => return Err(ClientsError::Discord(e)),
Err(e) => Err(ClientsError::Discord(e)),
}
}