From a128fa4a64608c1ed3c6fdd8c27ea113f3a0aa93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tau=20G=C3=A4rtli?= Date: Wed, 14 Aug 2024 14:41:14 +0200 Subject: [PATCH] Fix docs --- 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 61f4062f13e..e688006e667 100644 --- a/crates/egui/src/context.rs +++ b/crates/egui/src/context.rs @@ -1719,7 +1719,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>) {