Skip to content

Commit 542db29

Browse files
committed
Abandoning as it made the code too complicated
1 parent 8072e6d commit 542db29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/app.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ impl eframe::App for BrowseApp {
5858
fn update(&mut self, ctx: &egui::Context, _frame: &mut eframe::Frame) {
5959
// assign sample text once it comes in
6060
if let Some(promise) = &self.promise {
61-
// TODO: Consume the promise and not allocate a new string
6261
if let Some(result) = promise.ready() {
6362
if let Some(text) = result {
6463
self.sample_text = text.clone();

0 commit comments

Comments
 (0)