From 4e7e128b2ba68000f0127054376475ad7baa828f Mon Sep 17 00:00:00 2001 From: Lucas Walter Date: Wed, 3 Feb 2021 11:04:57 -0800 Subject: [PATCH] Spelling ui_resouce -> ui_resource (#156) --- egui_demo_lib/src/apps/http_app.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/egui_demo_lib/src/apps/http_app.rs b/egui_demo_lib/src/apps/http_app.rs index 2c1807a4..35899d66 100644 --- a/egui_demo_lib/src/apps/http_app.rs +++ b/egui_demo_lib/src/apps/http_app.rs @@ -96,7 +96,7 @@ impl epi::App for HttpApp { } else if let Some(result) = &self.result { match result { Ok(resource) => { - ui_resouce(ui, frame, &mut self.tex_mngr, resource); + ui_resource(ui, frame, &mut self.tex_mngr, resource); } Err(error) => { // This should only happen if the fetch API isn't available or something similar. @@ -145,7 +145,7 @@ fn ui_url(ui: &mut egui::Ui, frame: &mut epi::Frame<'_>, url: &mut String) -> Op } } -fn ui_resouce( +fn ui_resource( ui: &mut egui::Ui, frame: &mut epi::Frame<'_>, tex_mngr: &mut TexMngr,