From 542db296f3ccbefe5dbb1924408319ace5da2943 Mon Sep 17 00:00:00 2001 From: One <43485962+c-git@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:23:59 -0500 Subject: [PATCH] Abandoning as it made the code too complicated --- src/app.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 1e0cf6c..d5b7af1 100644 --- a/src/app.rs +++ b/src/app.rs @@ -58,7 +58,6 @@ impl eframe::App for BrowseApp { fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) { // assign sample text once it comes in if let Some(promise) = &self.promise { - // TODO: Consume the promise and not allocate a new string if let Some(result) = promise.ready() { if let Some(text) = result { self.sample_text = text.clone();