From b9598491490b61f86149bd85851e8f878278d538 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 27 Jan 2021 14:03:10 +0000 Subject: [PATCH] vmm: drop unnecessary semicolon Building with 1.51 nightly produces the following warning: warning: unnecessary trailing semicolon --> vmm/src/device_manager.rs:396:6 | 396 | }; | ^ help: remove this semicolon | = note: `#[warn(redundant_semicolons)]` on by default warning: 1 warning emitted Signed-off-by: Wei Liu --- vmm/src/device_manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmm/src/device_manager.rs b/vmm/src/device_manager.rs index 95f9b5cb4..d151332b6 100644 --- a/vmm/src/device_manager.rs +++ b/vmm/src/device_manager.rs @@ -393,7 +393,7 @@ pub fn get_win_size() -> (u16, u16) { cols: u16, xpixel: u16, ypixel: u16, - }; + } let ws: WS = WS::default(); unsafe {