mirror of
https://github.com/rustdesk/qemu-display.git
synced 2026-04-03 06:26:02 +00:00
Remove unnecessary return satements
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -85,21 +85,21 @@ impl Console {
|
||||
if let Some(msg) = msg? {
|
||||
log::debug!("Ignoring {:?}", msg);
|
||||
}
|
||||
return Ok(());
|
||||
Ok(())
|
||||
},
|
||||
msg = self.keyboard.next_signal().fuse() => {
|
||||
if let Some(msg) = msg? {
|
||||
log::debug!("Ignoring {:?}", msg);
|
||||
}
|
||||
return Ok(());
|
||||
Ok(())
|
||||
},
|
||||
msg = self.mouse.next_signal().fuse() => {
|
||||
if let Some(msg) = msg? {
|
||||
log::debug!("Ignoring {:?}", msg);
|
||||
}
|
||||
return Ok(());
|
||||
Ok(())
|
||||
}
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
pub async fn label(&self) -> Result<String> {
|
||||
|
||||
Reference in New Issue
Block a user