🚨 Fix clippy warnings
This commit is contained in:
@@ -35,12 +35,12 @@ impl Requester {
|
||||
pub fn init(&self) {
|
||||
let (reply, response) = oneshot();
|
||||
self.tx.send(WorkerTask::Init(reply)).unwrap();
|
||||
return response.recv();
|
||||
response.recv()
|
||||
}
|
||||
|
||||
pub fn login(&self, style: LoginStyle) -> anyhow::Result<()> {
|
||||
let (reply, response) = oneshot();
|
||||
self.tx.send(WorkerTask::Login(style, reply)).unwrap();
|
||||
return response.recv();
|
||||
response.recv()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user