make cargo happy
This commit is contained in:
parent
240cb19589
commit
1934888ee9
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ pub fn list_items(feed_id: usize) -> iced::widget::Column<'static,Message> {
|
|||
.padding(15)
|
||||
}
|
||||
|
||||
pub fn content_area(content: &Vec<Content>) -> iced::widget::Container<Message> {
|
||||
pub fn content_area(content: &'_ Vec<Content>) -> iced::widget::Container<'_, Message> {
|
||||
let mut children: Vec<Element<Message>> = Vec::new();
|
||||
for c in content {
|
||||
match c {
|
||||
|
@ -81,7 +81,7 @@ pub fn content_area(content: &Vec<Content>) -> iced::widget::Container<Message>
|
|||
|
||||
}
|
||||
|
||||
pub fn media_view(state: &ui::State) -> Element<Message> {
|
||||
pub fn media_view(state: &'_ ui::State) -> Element<'_, Message> {
|
||||
match state.current_item.clone().unwrap().media {
|
||||
Some(m) => {
|
||||
if m.len() > 0{
|
||||
|
@ -98,7 +98,7 @@ pub fn media_view(state: &ui::State) -> Element<Message> {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn content_view(state: &ui::State) -> iced::widget::Scrollable<Message> {
|
||||
pub fn content_view(state: &'_ ui::State) -> iced::widget::Scrollable<'_, Message> {
|
||||
let item = state.current_item.clone().unwrap();
|
||||
|
||||
scrollable(
|
||||
|
|
Loading…
Reference in a new issue