diff --git a/crates/egui/src/context.rs b/crates/egui/src/context.rs index 2b3e2930779d..1f9e11d3c0ed 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -1703,7 +1703,7 @@ impl Context { /// The [`Style`] used by all new windows, panels etc. in light mode. /// Use [`Self::set_theme`] to choose between dark and light mode. /// - /// You can also change this using [`Self::dark_style_mut`] + /// You can also change this using [`Self::light_style_mut`] /// /// You can use [`Ui::style_mut`] to change the style of a single [`Ui`]. pub fn set_light_style(&self, style: impl Into>) {