From 0488fc79a2670155775590522ef546f400fd2b8a Mon Sep 17 00:00:00 2001 From: Rachael Ava <83562876+RachaelAva1024@users.noreply.github.com> Date: Tue, 29 Aug 2023 19:05:45 +0000 Subject: [PATCH] Fixed crate dependency issue The module text_input was loaded at line 80, which conflicts with the crate text_input as declared on line 15. Cargo suggests binding the crate name as other_text_input, however, I named it crate_text_input to be more descriptive. I do not know if it will be an issue later in development, but libcosmic does at least compile successfully. --- src/widget/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widget/mod.rs b/src/widget/mod.rs index de0660b9..e2782ebc 100644 --- a/src/widget/mod.rs +++ b/src/widget/mod.rs @@ -12,6 +12,7 @@ pub use iced::widget::{radio, Radio}; pub use iced::widget::{row, Row}; pub use iced::widget::{slider, Slider}; pub use iced::widget::{space, Space}; +pub use iced::widget::{text_input as crate_text_input, TextInput}; pub mod aspect_ratio;