diff options
Diffstat (limited to '')
-rw-r--r-- | core/src/window/screenshot.rs (renamed from runtime/src/window/screenshot.rs) | 2 | ||||
-rw-r--r-- | runtime/src/window.rs | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/runtime/src/window/screenshot.rs b/core/src/window/screenshot.rs index d9adbc01..424168bb 100644 --- a/runtime/src/window/screenshot.rs +++ b/core/src/window/screenshot.rs @@ -1,5 +1,5 @@ //! Take screenshots of a window. -use crate::core::{Rectangle, Size}; +use crate::{Rectangle, Size}; use bytes::Bytes; use std::fmt::{Debug, Formatter}; diff --git a/runtime/src/window.rs b/runtime/src/window.rs index 382f4518..0ebdba2f 100644 --- a/runtime/src/window.rs +++ b/runtime/src/window.rs @@ -1,11 +1,7 @@ //! Build window-based GUI applications. -pub mod screenshot; - -pub use screenshot::Screenshot; - use crate::core::time::Instant; use crate::core::window::{ - Event, Icon, Id, Level, Mode, Settings, UserAttention, + Event, Icon, Id, Level, Mode, Screenshot, Settings, UserAttention, }; use crate::core::{Point, Size}; use crate::futures::event; |