Skip to content

Commit

Permalink
Improve docs for WidgetWithState
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed May 29, 2024
1 parent 5e2d644 commit a7d705b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/widgets/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ where
}
}

/// Helper so that you can do `TextEdit::State::read…`
/// Helper so that you can do e.g. [`TextEdit::State::load`].
pub trait WidgetWithState {
type State;
}
Expand Down

0 comments on commit a7d705b

Please sign in to comment.