mirror of
https://codeberg.org/unspeaker/perch.git
synced 2025-12-07 01:56:45 +01:00
refactor: extract constants
This commit is contained in:
parent
84f183ab84
commit
36423fc994
7 changed files with 65 additions and 52 deletions
|
|
@ -58,11 +58,6 @@ pub(crate) fn entries_under (
|
|||
|
||||
pub struct Columns<G, S>(pub Vec<Column<G, S>>);
|
||||
|
||||
impl<G, S> Columns<G, S> {
|
||||
const SCROLL_LEFT: &'static str = "❮";
|
||||
const SCROLL_RIGHT: &'static str = "❯";
|
||||
}
|
||||
|
||||
macro_rules! setter {
|
||||
($set:ident) => {{
|
||||
fn $set (state: &mut Taggart, index: usize, value: &str) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue