mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
clippy fixes for rust 1.53
This commit is contained in:
@@ -72,7 +72,7 @@ impl epi::App for WrapApp {
|
||||
|
||||
fn update(&mut self, ctx: &egui::CtxRef, frame: &mut epi::Frame<'_>) {
|
||||
if let Some(web_info) = frame.info().web_info.as_ref() {
|
||||
if let Some(anchor) = web_info.web_location_hash.strip_prefix("#") {
|
||||
if let Some(anchor) = web_info.web_location_hash.strip_prefix('#') {
|
||||
self.selected_anchor = anchor.to_owned();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user