From 74db80eb13c4ccae364cf7ab3aafa2096e98649c Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Mon, 31 Oct 2022 11:19:47 -0700 Subject: [PATCH] gpu_display: fix allow(unsed) typo BUG=None TEST=tools/run_tests --platform=mingw64 --verbose Change-Id: I33096ea9ab48c06a02207ab04d87257970265d20 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3993686 Reviewed-by: Vikram Auradkar Commit-Queue: Vikram Auradkar Reviewed-by: Pujun Lun Auto-Submit: Daniel Verkamp --- gpu_display/src/gpu_display_win/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpu_display/src/gpu_display_win/window.rs b/gpu_display/src/gpu_display_win/window.rs index 9e76715673..9af6aec483 100644 --- a/gpu_display/src/gpu_display_win/window.rs +++ b/gpu_display/src/gpu_display_win/window.rs @@ -305,7 +305,7 @@ impl Window { /// Updates the rectangle in the window's client area to which gfxstream renders. pub fn update_virtual_display_projection( &self, - #[allow(unsed)] projection_box: &Box2D, + #[allow(unused)] projection_box: &Box2D, ) { // Safe because `Window` object won't outlive the HWND. #[cfg(feature = "gfxstream")]