Skip to content

Commit

Permalink
fix typo in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 22, 2024
1 parent 6264179 commit 0b354e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1076,7 +1076,7 @@ impl Context {
/// ```
/// # let ctx = egui::Context::default();
/// # let state = true;
/// ctx.debug_text(format!("State: {state;?}"));
/// ctx.debug_text(format!("State: {state:?}"));
/// ```
#[track_caller]
pub fn debug_text(&self, text: impl Into<WidgetText>) {
Expand Down

0 comments on commit 0b354e3

Please sign in to comment.