From 7b51e091df25a9839a348c4b5ccf98033c795b4e Mon Sep 17 00:00:00 2001 From: adrien <221212@umons.ac.be> Date: Tue, 27 Jan 2026 03:17:49 +0100 Subject: [PATCH] fix doc example --- crates/egui/src/ui.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index c7c4f1ef9..05507fff6 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -3183,10 +3183,6 @@ impl Ui { /// Example: /// ``` /// # egui::__run_test_ui(|ui| { - /// // Check if the parent has the "test" modifier - /// ui.style_stack().parent.is_some_and(|parent| parent.modifiers.has("test")); - /// - /// // Same but shorter /// ui.style_stack().parent_has("test"); /// # }); /// ```