mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 00:00:03 +03:00
Better variable name
This commit is contained in:
parent
d988054ad8
commit
8c31d38fa1
|
@ -133,11 +133,10 @@ impl<'a> UiState<'a> {
|
||||||
&mut self.table_state,
|
&mut self.table_state,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Help footer
|
let help_footer =
|
||||||
let footer =
|
|
||||||
"↓/j ↑/k home/g end/G │ Filter <d>one/<p>ending │ <r>eset │ <c>ontinue at │ <q>uit";
|
"↓/j ↑/k home/g end/G │ Filter <d>one/<p>ending │ <r>eset │ <c>ontinue at │ <q>uit";
|
||||||
frame.render_widget(
|
frame.render_widget(
|
||||||
Span::raw(footer),
|
Span::raw(help_footer),
|
||||||
Rect {
|
Rect {
|
||||||
x: 0,
|
x: 0,
|
||||||
y: area.height - 1,
|
y: area.height - 1,
|
||||||
|
|
Loading…
Reference in a new issue