Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Move events module up
Nathan Sobo9fe583624011
diff --git a/crates/gpui3/src/platform/events.rs b/crates/gpui3/src/events.rssimilarity index 100%rename from crates/gpui3/src/platform/events.rsrename to crates/gpui3/src/events.rsdiff --git a/crates/gpui3/src/gpui3.rs b/crates/gpui3/src/gpui3.rsindex 29299817e1e..1b0de749808 100644--- a/crates/gpui3/src/gpui3.rs+++ b/crates/gpui3/src/gpui3.rs@@ -3,6 +3,7 @@ mod assets;mod color;mod element;mod elements;+mod events;mod executor;mod geometry;mod image_cache;@@ -25,6 +26,7 @@ pub use assets::*;pub use color::*;pub use element::*;pub use elements::*;+pub use events::*;pub use executor::*;pub use geometry::*;pub use gpui3_macros::*;diff --git a/crates/gpui3/src/platform.rs b/crates/gpui3/src/platform.rsindex fb90bb9c6b5..adc189e1cef 100644--- a/crates/gpui3/src/platform.rs+++ b/crates/gpui3/src/platform.rs@@ -1,4 +1,3 @@-mod events;mod keystroke;#[cfg(target_os = "macos")]mod mac;@@ -6,9 +5,9 @@ mod mac;mod test;use crate::{- AnyWindowHandle, Bounds, DevicePixels, Executor, Font, FontId, FontMetrics, GlobalPixels,- GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams, Result, Scene,- ShapedLine, SharedString, Size,+ AnyWindowHandle, Bounds, DevicePixels, Event, Executor, Font, FontId, FontMetrics,+ GlobalPixels, GlyphId, Pixels, Point, RenderGlyphParams, RenderImageParams, RenderSvgParams,+ Result, Scene, ShapedLine, SharedString, Size,};use anyhow::anyhow;use async_task::Runnable;@@ -27,7 +26,6 @@ use std::{sync::Arc,};-pub use events::*;pub use keystroke::*;#[cfg(target_os = "macos")]pub use mac::*;