refactor(varcon): Reorder entry fields

This commit is contained in:
Ed Page 2024-08-23 10:46:32 -05:00
parent ffcca9ff99
commit 0d2c99e494
3 changed files with 26 additions and 26 deletions

View file

@ -20,8 +20,8 @@ pub struct Entry {
pub variants: &'static [Variant], pub variants: &'static [Variant],
pub pos: Option<crate::Pos>, pub pos: Option<crate::Pos>,
pub archaic: bool, pub archaic: bool,
pub note: bool,
pub description: Option<&'static str>, pub description: Option<&'static str>,
pub note: bool,
pub comment: Option<&'static str>, pub comment: Option<&'static str>,
} }

View file

@ -30,8 +30,8 @@ pub struct Entry {
pub variants: Vec<Variant>, pub variants: Vec<Variant>,
pub pos: Option<Pos>, pub pos: Option<Pos>,
pub archaic: bool, pub archaic: bool,
pub note: bool,
pub description: Option<String>, pub description: Option<String>,
pub note: bool,
pub comment: Option<String>, pub comment: Option<String>,
} }

View file

@ -102,8 +102,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -150,8 +150,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -198,8 +198,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
], ],
@ -279,8 +279,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -327,8 +327,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -375,8 +375,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
], ],
@ -431,8 +431,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -479,8 +479,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -527,8 +527,8 @@ A Cv: acknowledgment's / Av B C: acknowledgement's
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
], ],
@ -660,8 +660,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -708,8 +708,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -756,8 +756,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
], ],
@ -841,8 +841,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -889,8 +889,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
Entry { Entry {
@ -937,8 +937,8 @@ Cluster {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}, },
], ],
@ -983,8 +983,8 @@ impl Entry {
variants: Vec::new(), variants: Vec::new(),
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
}; };
@ -1092,8 +1092,8 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
} }
@ -1148,10 +1148,10 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: Some( description: Some(
"otherwise", "otherwise",
), ),
note: false,
comment: None, comment: None,
} }
@ -1222,8 +1222,8 @@ Entry {
Noun, Noun,
), ),
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
} }
@ -1278,8 +1278,8 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
} }
@ -1322,8 +1322,8 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: None, comment: None,
} }
@ -1380,10 +1380,10 @@ Entry {
], ],
pos: None, pos: None,
archaic: true, archaic: true,
note: false,
description: Some( description: Some(
"ship", "ship",
), ),
note: false,
comment: None, comment: None,
} }
@ -1423,10 +1423,10 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: true,
description: Some( description: Some(
"plural", "plural",
), ),
note: true,
comment: None, comment: None,
} }
@ -1489,8 +1489,8 @@ Entry {
], ],
pos: None, pos: None,
archaic: false, archaic: false,
note: false,
description: None, description: None,
note: false,
comment: Some( comment: Some(
"ODE: archaic, M-W: 'or' but can find little evidence of use", "ODE: archaic, M-W: 'or' but can find little evidence of use",
), ),