1
0
зеркало из https://github.com/glebtv/tui-textarea.git synced 2026-09-04 06:45:50 +03:00

chore: refresh GitHub repository setup (#23)

* chore: refresh GitHub repository setup

* chore: align CI with Rust 1.88 MSRV
Этот коммит содержится в:
srothgan
2026-06-30 20:47:43 +02:00
коммит произвёл GitHub
родитель 9c4db800ef
Коммит ebd3af05e1
21 изменённых файлов: 209 добавлений и 46 удалений

Просмотреть файл

@@ -19,7 +19,7 @@ fn validate(textarea: &mut TextArea) -> bool {
Block::default()
.borders(Borders::ALL)
.border_style(Color::LightRed)
.title(format!("ERROR: {}", err)),
.title(format!("ERROR: {err}")),
);
false
} else {

Просмотреть файл

@@ -31,7 +31,7 @@ impl Mode {
Self::Visual => "type y to yank, type d to delete, type Esc to back to normal mode",
Self::Operator(_) => "move cursor to apply operator",
};
let title = format!("{} MODE ({})", self, help);
let title = format!("{self} MODE ({help})");
Block::default().borders(Borders::ALL).title(title)
}
@@ -52,7 +52,7 @@ impl fmt::Display for Mode {
Self::Normal => write!(f, "NORMAL"),
Self::Insert => write!(f, "INSERT"),
Self::Visual => write!(f, "VISUAL"),
Self::Operator(c) => write!(f, "OPERATOR({})", c),
Self::Operator(c) => write!(f, "OPERATOR({c})"),
}
}
}