From 0b354e345e711f41e8d750581c7ec045cd16309c Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 22 Jan 2024 16:54:44 +0100 Subject: [PATCH] fix typo in doctest --- crates/egui/src/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/context.rs b/crates/egui/src/context.rs index 4528b6e254d..f1b808b765b 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -1076,7 +1076,7 @@ impl Context { /// ``` /// # let ctx = egui::Context::default(); /// # let state = true; - /// ctx.debug_text(format!("State: {state;?}")); + /// ctx.debug_text(format!("State: {state:?}")); /// ``` #[track_caller] pub fn debug_text(&self, text: impl Into) {