diff --git a/crates/egui/src/ui.rs b/crates/egui/src/ui.rs index 4cdc2058d..fa80a630f 100644 --- a/crates/egui/src/ui.rs +++ b/crates/egui/src/ui.rs @@ -2279,6 +2279,7 @@ impl Ui { impl Deref for Ui { type Target = Context; + #[inline] fn deref(&self) -> &Self::Target { self.ctx() }