From d4f9f6984d704c5eaa52416e8e02687ec80ac7be Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 23 Jan 2023 15:04:35 +0100 Subject: [PATCH] Fix red doctest --- crates/egui/src/ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index a8ac5c92c..23ad9092b 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -2163,10 +2163,10 @@ impl Ui { /// /// If called from within a menu this will instead create a button for a sub-menu. /// - /// ``` + /// ```ignore /// use egui_extras; /// - /// let img = egui_extrasRetainedImage::from_svg_bytes_with_size( + /// let img = egui_extras::RetainedImage::from_svg_bytes_with_size( /// "rss", /// include_bytes!("rss.svg"), /// egui_extras::image::FitTo::Size(24, 24),