fix doc example

This commit is contained in:
adrien
2026-01-27 03:17:49 +01:00
parent 7003182b49
commit 7b51e091df
-4
View File
@@ -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");
/// # });
/// ```