Remove needless return
This commit is contained in:
parent
e951b3012e
commit
3a80a0fad6
|
@ -75,7 +75,7 @@ impl<'a> Client {
|
||||||
pub async fn connect_discord(&mut self) -> Result<(), ClientsError> {
|
pub async fn connect_discord(&mut self) -> Result<(), ClientsError> {
|
||||||
match self.discord_client.start().await {
|
match self.discord_client.start().await {
|
||||||
Ok(_) => Ok(()),
|
Ok(_) => Ok(()),
|
||||||
Err(e) => return Err(ClientsError::Discord(e)),
|
Err(e) => Err(ClientsError::Discord(e)),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue