style(example): update panic message in minimal template (#1344)

This commit is contained in:
Orhun Parmaksız 2024-08-25 14:45:34 +03:00 committed by GitHub
parent 3a90e2a761
commit e02947be61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,7 +31,7 @@ fn main() {
loop {
terminal
.draw(|frame: &mut Frame| frame.render_widget(Text::raw("Hello World!"), frame.area()))
.expect("Failed to draw");
.expect("failed to draw frame");
if matches!(event::read().expect("failed to read event"), Event::Key(_)) {
break;
}