From e807b73a6b80d882cc877ee0a4d20fccccf1f7e3 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Mon, 25 Mar 2024 11:38:32 +0100 Subject: [PATCH] Update doclink in docstring --- crates/egui/src/widgets/text_edit/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/widgets/text_edit/builder.rs b/crates/egui/src/widgets/text_edit/builder.rs index 12077b932..9efcb9805 100644 --- a/crates/egui/src/widgets/text_edit/builder.rs +++ b/crates/egui/src/widgets/text_edit/builder.rs @@ -223,7 +223,7 @@ impl<'t> TextEdit<'t> { /// so it is strongly suggested that you cache the results of any syntax highlighter /// so as not to waste CPU highlighting the same string every frame. /// - /// The arguments is the enclosing [`Ui`] (so you can access e.g. [`Ui::fonts`]), + /// The arguments is the enclosing [`Ui`] (so you can access e.g. [`Ui::style`]), /// the text and the wrap width. /// /// ```