From d51f3458f07ac3e0390088eb4543392d3b4a271f Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Wed, 13 Sep 2023 20:02:35 +0200 Subject: [PATCH] spelling --- crates/egui_extras/src/syntax_highlighting.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui_extras/src/syntax_highlighting.rs b/crates/egui_extras/src/syntax_highlighting.rs index 5809b1e0701..dd92e938e19 100644 --- a/crates/egui_extras/src/syntax_highlighting.rs +++ b/crates/egui_extras/src/syntax_highlighting.rs @@ -28,7 +28,7 @@ pub fn code_view_ui( ) } -/// Add syntax highlighing to a code string. +/// Add syntax highlighting to a code string. /// /// The results are memoized, so you can call this every frame without performance penalty. pub fn highlight(ctx: &egui::Context, theme: &CodeTheme, code: &str, language: &str) -> LayoutJob {