gpui: Don't export named Context from prelude (#21869)

This PR updates the `gpui::prelude` to not export the `Context` trait
named.

This prevents some naming clashes in downstream consumers.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-12-11 13:21:40 -05:00 committed by GitHub
parent b3ffbea376
commit 937186da12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 12 additions and 31 deletions

View file

@ -3,7 +3,7 @@
//! application to avoid having to import each trait individually.
pub use crate::{
util::FluentBuilder, BorrowAppContext, BorrowWindow, Context, Element, FocusableElement,
util::FluentBuilder, BorrowAppContext, BorrowWindow, Context as _, Element, FocusableElement,
InteractiveElement, IntoElement, ParentElement, Refineable, Render, RenderOnce,
StatefulInteractiveElement, Styled, StyledImage, VisualContext,
};