diff --git a/crates/egui/src/style.rs b/crates/egui/src/style.rs index 9e34498eb70..c04624623c3 100644 --- a/crates/egui/src/style.rs +++ b/crates/egui/src/style.rs @@ -232,7 +232,7 @@ pub struct Style { } impl Style { - // TODO(emilk): rename style.interact() to maybe... `style.interactive` ? + // TODO(emilk): rename style.interact() to maybe… `style.interactive` ? /// Use this style for interactive things. /// Note that you must already have a response, /// i.e. you must allocate space and interact BEFORE painting the widget! diff --git a/crates/egui_demo_app/src/backend_panel.rs b/crates/egui_demo_app/src/backend_panel.rs index f82094d71fa..e50c6b29db1 100644 --- a/crates/egui_demo_app/src/backend_panel.rs +++ b/crates/egui_demo_app/src/backend_panel.rs @@ -154,10 +154,10 @@ impl BackendPanel { .button("Wait 2s, then request repaint after another 3s") .clicked() { - log::info!("Waiting 2s before requesting repaint..."); + log::info!("Waiting 2s before requesting repaint…"); let ctx = ui.ctx().clone(); call_after_delay(std::time::Duration::from_secs(2), move || { - log::info!("Request a repaint in 3s..."); + log::info!("Request a repaint in 3s…"); ctx.request_repaint_after(std::time::Duration::from_secs(3)); }); } @@ -298,7 +298,7 @@ fn integration_ui(ui: &mut egui::Ui, _frame: &mut eframe::Frame) { let mut size = None; egui::ComboBox::from_id_source("viewport-size-combo") - .selected_text("Resize to...") + .selected_text("Resize to…") .show_ui(ui, |ui| { ui.selectable_value( &mut size, diff --git a/crates/egui_demo_lib/src/demo/context_menu.rs b/crates/egui_demo_lib/src/demo/context_menu.rs index 00d1431ef14..86bd2f9d108 100644 --- a/crates/egui_demo_lib/src/demo/context_menu.rs +++ b/crates/egui_demo_lib/src/demo/context_menu.rs @@ -156,24 +156,24 @@ impl ContextMenus { } fn nested_menus(ui: &mut egui::Ui) { - if ui.button("Open...").clicked() { + if ui.button("Open…").clicked() { ui.close_menu(); } ui.menu_button("SubMenu", |ui| { ui.menu_button("SubMenu", |ui| { - if ui.button("Open...").clicked() { + if ui.button("Open…").clicked() { ui.close_menu(); } let _ = ui.button("Item"); }); ui.menu_button("SubMenu", |ui| { - if ui.button("Open...").clicked() { + if ui.button("Open…").clicked() { ui.close_menu(); } let _ = ui.button("Item"); }); let _ = ui.button("Item"); - if ui.button("Open...").clicked() { + if ui.button("Open…").clicked() { ui.close_menu(); } }); @@ -182,7 +182,7 @@ impl ContextMenus { let _ = ui.button("Item2"); let _ = ui.button("Item3"); let _ = ui.button("Item4"); - if ui.button("Open...").clicked() { + if ui.button("Open…").clicked() { ui.close_menu(); } }); diff --git a/crates/egui_plot/src/items/values.rs b/crates/egui_plot/src/items/values.rs index 6e9bff096b6..dbbb59bb41a 100644 --- a/crates/egui_plot/src/items/values.rs +++ b/crates/egui_plot/src/items/values.rs @@ -426,7 +426,7 @@ impl ExplicitGenerator { /// Result of [`super::PlotItem::find_closest()`] search, identifies an element inside the item for immediate use pub struct ClosestElem { - /// Position of hovered-over value (or bar/box-plot/...) in `PlotItem` + /// Position of hovered-over value (or bar/box-plot/…) in `PlotItem` pub index: usize, /// Squared distance from the mouse cursor (needed to compare against other `PlotItems`, which might be nearer) diff --git a/examples/user_attention/src/main.rs b/examples/user_attention/src/main.rs index 15f0676cf0a..53c170a1144 100644 --- a/examples/user_attention/src/main.rs +++ b/examples/user_attention/src/main.rs @@ -103,9 +103,9 @@ impl eframe::App for Application { None => "Unfocus the window, fast!".to_owned(), Some(t) => { if let Ok(elapsed) = t.duration_since(SystemTime::now()) { - format!("Resetting attention in {} s...", elapsed.as_secs()) + format!("Resetting attention in {} s…", elapsed.as_secs()) } else { - "Resetting attention...".to_owned() + "Resetting attention…".to_owned() } } }