From 0f157d50830056cd029677a86c088ae463c1e462 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 6 Apr 2021 14:36:16 -0700 Subject: [PATCH] Silence warning in text example --- gpui/examples/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpui/examples/text.rs b/gpui/examples/text.rs index bc07057fb1..e481ce5e2f 100644 --- a/gpui/examples/text.rs +++ b/gpui/examples/text.rs @@ -31,7 +31,7 @@ impl gpui::View for TextView { "View" } - fn render<'a>(&self, app: &gpui::AppContext) -> gpui::ElementBox { + fn render<'a>(&self, _: &gpui::AppContext) -> gpui::ElementBox { TextElement.boxed() } }