From 58bcc4404e0083276576299217fe6e3187d0ef14 Mon Sep 17 00:00:00 2001 From: Nick Senger Date: Wed, 11 Jan 2023 07:45:36 -0800 Subject: feat: provide `&Dependency` to `Lazy` widget `View` --- examples/lazy/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/lazy') diff --git a/examples/lazy/src/main.rs b/examples/lazy/src/main.rs index 818c91bc..6512106f 100644 --- a/examples/lazy/src/main.rs +++ b/examples/lazy/src/main.rs @@ -167,7 +167,7 @@ impl Sandbox for App { } fn view(&self) -> Element { - let options = lazy(self.version, || { + let options = lazy(self.version, |_| { let mut items: Vec<_> = self.items.iter().cloned().collect(); items.sort_by(|a, b| match self.order { -- cgit