summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 17:28:04 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-16 18:19:36 +0700
commitc6486978de7f47577c85ed18ccb28a760381d421 (patch)
treeb650601aadb75c34abb0a085c5c4de1b38d73817 /core/src/lib.rs
parentca1fcdaf1454fd3febae8e6864c9a7dec04f41b1 (diff)
downloadiced-c6486978de7f47577c85ed18ccb28a760381d421.tar.gz
iced-c6486978de7f47577c85ed18ccb28a760381d421.tar.bz2
iced-c6486978de7f47577c85ed18ccb28a760381d421.zip
Rename `image` module to `content_fit` in `iced_core`
Since we are just exposing the `ContentFit` type and not the module `image` at all.
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 0eac97c2..3eb9f659 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -21,8 +21,8 @@ pub mod time;
mod background;
mod color;
+mod content_fit;
mod font;
-mod image;
mod length;
mod padding;
mod point;
@@ -33,8 +33,8 @@ mod vector;
pub use alignment::Alignment;
pub use background::Background;
pub use color::Color;
+pub use content_fit::ContentFit;
pub use font::Font;
-pub use image::ContentFit;
pub use length::Length;
pub use padding::Padding;
pub use point::Point;