aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-05-02 00:09:57 +0200
committerpml68 <contact@pml68.dev>2025-05-02 00:10:10 +0200
commit3a088744195a244571cd4319b2ee5be81f8b2927 (patch)
treed30eec721ebe4cc1f6d3a5024b571ee66b04f1f5 /src/lib.rs
parentchore: add proper MIT attribution (diff)
downloadiced_dialog-3a088744195a244571cd4319b2ee5be81f8b2927.tar.gz
feat: make `Dialog` available from the crate's root
Diffstat (limited to '')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 718f1ce..0c82ebb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -3,7 +3,7 @@
//! # Example
//! See [here](https://github.com/pml68/iced_dialog/tree/master/example)
pub mod dialog;
-use dialog::Dialog;
+pub use dialog::Dialog;
use iced_core as core;
use iced_core::alignment::Horizontal;
use iced_widget::Button;