fix: typo

This commit is contained in:
Josh McKinney 2024-06-16 17:53:41 -07:00
parent fa8001f21d
commit 5c66a944d9
No known key found for this signature in database
GPG key ID: 722287396A903BC5

View file

@ -248,7 +248,7 @@ pub trait StatefulWidget {
/// Renders the the widget into the buffer using the provided state. /// Renders the the widget into the buffer using the provided state.
/// ///
/// This method replaces the `render` method with a name that does not conflict with the /// This method replaces the `render` method with a name that does not conflict with the
/// `render` method from the `Widget` trait. (This conflict causes apps to have to specifially /// `render` method from the `Widget` trait. (This conflict causes apps to have to specifically
/// disambiguate the method call when using the `StatefulWidget` trait in situations where both /// disambiguate the method call when using the `StatefulWidget` trait in situations where both
/// traits are in scope.) /// traits are in scope.)
fn render_stateful(self, area: Rect, buf: &mut Buffer, state: &mut Self::State) fn render_stateful(self, area: Rect, buf: &mut Buffer, state: &mut Self::State)