mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 18:41:05 -05:00
Merge pull request #318 from epage/wasn
fix(dict): Avoid contraction false positive
This commit is contained in:
commit
f651d003cc
3 changed files with 5 additions and 3 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
<!-- next-header -->
|
<!-- next-header -->
|
||||||
## [Unreleased] - ReleaseDate
|
## [Unreleased] - ReleaseDate
|
||||||
|
|
||||||
|
#### Bug Fixes
|
||||||
|
|
||||||
|
- `wasn,was` correction causes problems with `wasn't`
|
||||||
|
|
||||||
## [1.1.1] - 2021-07-27
|
## [1.1.1] - 2021-07-27
|
||||||
|
|
||||||
#### Bug Fixes
|
#### Bug Fixes
|
||||||
|
|
1
crates/typos-dict/assets/words.csv
vendored
1
crates/typos-dict/assets/words.csv
vendored
|
@ -51772,7 +51772,6 @@ warrriors,warriors
|
||||||
warwcik,warwick
|
warwcik,warwick
|
||||||
washignton,washington
|
washignton,washington
|
||||||
washingtion,washington
|
washingtion,washington
|
||||||
wasn,was
|
|
||||||
wass,was
|
wass,was
|
||||||
watchdong,watchdog
|
watchdong,watchdog
|
||||||
watchemn,watchmen
|
watchemn,watchmen
|
||||||
|
|
Can't render this file because it is too large.
|
|
@ -2545,10 +2545,9 @@ pub static WORD_WAS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
|
||||||
keys: &[
|
keys: &[
|
||||||
dictgen::InsensitiveStr::Ascii("hignton"),
|
dictgen::InsensitiveStr::Ascii("hignton"),
|
||||||
dictgen::InsensitiveStr::Ascii("hingtion"),
|
dictgen::InsensitiveStr::Ascii("hingtion"),
|
||||||
dictgen::InsensitiveStr::Ascii("n"),
|
|
||||||
dictgen::InsensitiveStr::Ascii("s"),
|
dictgen::InsensitiveStr::Ascii("s"),
|
||||||
],
|
],
|
||||||
values: &[&["washington"], &["washington"], &["was"], &["was"]],
|
values: &[&["washington"], &["washington"], &["was"]],
|
||||||
range: 1..=8,
|
range: 1..=8,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue