From 94ebf577e3bc6bc2dbdb679d8141e196178e51ff Mon Sep 17 00:00:00 2001 From: Hong Shin Date: Thu, 30 Nov 2023 09:07:36 -0800 Subject: [PATCH] Squelch warning regarding map_view mut PiperOrigin-RevId: 586692967 --- rust/map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/map.rs b/rust/map.rs index 6244fb3d76..c4631b0ce9 100644 --- a/rust/map.rs +++ b/rust/map.rs @@ -199,7 +199,7 @@ mod tests { #[test] fn test_dbg() { - let mut map_view = MapView::from_inner(Private, new_map_inner()); + let map_view = MapView::from_inner(Private, new_map_inner()); assert_that!(format!("{:?}", map_view), eq("MapView(\"i32\", \"i64\")")); } }