Browse Source

Fix red doctest

pull/2302/merge
Emil Ernerfeldt 2 years ago
parent
commit
d4f9f6984d
  1. 4
      crates/egui/src/ui.rs

4
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. /// If called from within a menu this will instead create a button for a sub-menu.
/// ///
/// ``` /// ```ignore
/// use egui_extras; /// use egui_extras;
/// ///
/// let img = egui_extrasRetainedImage::from_svg_bytes_with_size( /// let img = egui_extras::RetainedImage::from_svg_bytes_with_size(
/// "rss", /// "rss",
/// include_bytes!("rss.svg"), /// include_bytes!("rss.svg"),
/// egui_extras::image::FitTo::Size(24, 24), /// egui_extras::image::FitTo::Size(24, 24),

Loading…
Cancel
Save