From 72fcbb861054cd3073c8e22eaa61f6101e7c5a5c Mon Sep 17 00:00:00 2001 From: satnam72 <125819218+satnam72@users.noreply.github.com> Date: Wed, 6 Aug 2025 07:27:51 -0400 Subject: [PATCH] Use `Frame::NONE` in docstring (#7396) - Replaced deprecated `egui::Frame::none()` with `egui::Frame::NONE` * Closes * [x] I have followed the instructions in the PR template --------- Co-authored-by: Emil Ernerfeldt --- crates/egui/src/containers/frame.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/frame.rs b/crates/egui/src/containers/frame.rs index d4b67769..e4de2ca4 100644 --- a/crates/egui/src/containers/frame.rs +++ b/crates/egui/src/containers/frame.rs @@ -46,7 +46,7 @@ use epaint::{Color32, CornerRadius, Margin, MarginF32, Rect, Shadow, Shape, Stro /// /// ``` /// # egui::__run_test_ui(|ui| { -/// egui::Frame::none() +/// egui::Frame::NONE /// .fill(egui::Color32::RED) /// .show(ui, |ui| { /// ui.label("Label with red background");