mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-29 04:21:06 -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 -->
|
||||
## [Unreleased] - ReleaseDate
|
||||
|
||||
#### Bug Fixes
|
||||
|
||||
- `wasn,was` correction causes problems with `wasn't`
|
||||
|
||||
## [1.1.1] - 2021-07-27
|
||||
|
||||
#### 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
|
||||
washignton,washington
|
||||
washingtion,washington
|
||||
wasn,was
|
||||
wass,was
|
||||
watchdong,watchdog
|
||||
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: &[
|
||||
dictgen::InsensitiveStr::Ascii("hignton"),
|
||||
dictgen::InsensitiveStr::Ascii("hingtion"),
|
||||
dictgen::InsensitiveStr::Ascii("n"),
|
||||
dictgen::InsensitiveStr::Ascii("s"),
|
||||
],
|
||||
values: &[&["washington"], &["washington"], &["was"], &["was"]],
|
||||
values: &[&["washington"], &["washington"], &["was"]],
|
||||
range: 1..=8,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue