Update all examples to Rust 2024
This commit is contained in:
parent
9ceb467e6e
commit
91af1c5ed6
82 changed files with 96 additions and 95 deletions
|
|
@ -2,7 +2,7 @@
|
|||
name = "tooltip"
|
||||
version = "0.1.0"
|
||||
authors = ["Yusuf Bera Ertan <y.bera003.06@protonmail.com>"]
|
||||
edition = "2021"
|
||||
edition = "2024"
|
||||
publish = false
|
||||
|
||||
[dependencies]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
use iced::Element;
|
||||
use iced::widget::tooltip::Position;
|
||||
use iced::widget::{button, center, container, tooltip};
|
||||
use iced::Element;
|
||||
|
||||
pub fn main() -> iced::Result {
|
||||
iced::run("Tooltip - Iced", Tooltip::update, Tooltip::view)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue