From 56d18a8863e4f349eaae9a57f187c24cdb6b5bad Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sun, 24 Sep 2023 09:18:56 +0200 Subject: [PATCH] Fix 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 5440fccf565..e6146b0d118 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -934,7 +934,7 @@ impl Context { /// Equivalent to: /// ``` /// # let ctx = egui::Context::default(); - /// ctx.output_mut(|o| o.copied_text = "Copy this".to_owned(); + /// ctx.output_mut(|o| o.copied_text = "Copy this".to_owned()); /// ``` pub fn copy_text(&self, text: String) { self.output_mut(|o| o.copied_text = text);