mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
Merge pull request #1086 from epage/verified
fix(vars): Drop unverified entries
This commit is contained in:
commit
7b6170d8e1
2 changed files with 7730 additions and 133656 deletions
File diff suppressed because it is too large
Load diff
|
@ -166,6 +166,7 @@ fn is_always_invalid(data: &[(&str, varcon::CategorySet)]) -> bool {
|
||||||
fn entries() -> BTreeMap<String, varcon_core::Entry> {
|
fn entries() -> BTreeMap<String, varcon_core::Entry> {
|
||||||
varcon::VARCON
|
varcon::VARCON
|
||||||
.iter()
|
.iter()
|
||||||
|
.filter(|c| c.verified)
|
||||||
.flat_map(|c| c.entries.iter())
|
.flat_map(|c| c.entries.iter())
|
||||||
.filter(|e| {
|
.filter(|e| {
|
||||||
e.variants
|
e.variants
|
||||||
|
|
Loading…
Reference in a new issue