1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Replace cargo-cranky with workspace lints (#4413)

Replace `cargo-cranky` (which has served us well) with workspace lints
This commit is contained in:
Emil Ernerfeldt
2024-04-25 17:24:50 +02:00
committed by GitHub
parent cee790681d
commit 2f508d6a61
82 changed files with 348 additions and 289 deletions

View File

@@ -19,6 +19,9 @@ include = [
"data/icon.png",
]
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true

View File

@@ -45,7 +45,7 @@ impl EasyMarkEditor {
pub fn ui(&mut self, ui: &mut egui::Ui) {
egui::Grid::new("controls").show(ui, |ui| {
let _ = ui.button("Hotkeys").on_hover_ui(nested_hotkeys_ui);
let _response = ui.button("Hotkeys").on_hover_ui(nested_hotkeys_ui);
ui.checkbox(&mut self.show_rendered, "Show rendered");
ui.checkbox(&mut self.highlight_editor, "Highlight editor");
egui::reset_button(ui, self, "Reset");