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

Fix some clippy 1.75 lints (#3754)

This commit is contained in:
Emil Ernerfeldt
2023-12-30 11:23:21 +01:00
committed by GitHub
parent 4487f8ff9f
commit 9951fe0d36
6 changed files with 6 additions and 8 deletions

View File

@@ -3,6 +3,8 @@
//! Turn on the `syntect` feature for great syntax highlighting of any language.
//! Otherwise, a very simple fallback will be used, that works okish for C, C++, Rust, and Python.
#![allow(clippy::mem_forget)] // False positive from enum_map macro
use egui::text::LayoutJob;
/// View some code with syntax highlighting and selection.