File tree 2 files changed +33
-20
lines changed
2 files changed +33
-20
lines changed Original file line number Diff line number Diff line change @@ -1011,6 +1011,19 @@ jobs:
1011
1011
with :
1012
1012
tool : cargo-spellcheck
1013
1013
- uses : actions/checkout@v4
1014
+ - name : Make sure dictionary words are sorted and unique
1015
+ run : |
1016
+ # `sed` removes the first line (number of words) and
1017
+ # the last line (new line).
1018
+ #
1019
+ # `sort` makes sure everything in between is sorted
1020
+ # and contains no duplicates.
1021
+ #
1022
+ # Since `sort` is sensitive to locale, we set it
1023
+ # using LC_ALL to en_US.UTF8 to be consistent in different
1024
+ # environments.
1025
+
1026
+ sed '1d; $d' spellcheck.dic | LC_ALL=en_US.UTF8 sort -uc
1014
1027
- name : Run cargo-spellcheck
1015
1028
run : cargo spellcheck --code 1
1016
1029
Original file line number Diff line number Diff line change 1
1
279
2
+ &
3
+ +
4
+ <
5
+ =
6
+ >
2
7
\
3
8
~
4
- ~4
5
- ~12
6
- ±1m
7
- ±1ms
8
9
—
9
- &
10
- +
11
10
0o777
12
11
0s
13
12
0xA
14
13
0xD
15
14
100ms
16
15
10ms
16
+ ~12
17
+ ±1m
18
+ ±1ms
17
19
1ms
18
20
1s
19
21
250ms
20
22
2x
23
+ ~4
21
24
443
22
25
450ms
23
26
50ms
24
27
8MB
25
- <
26
- =
27
- >
28
28
adaptor
29
29
adaptors
30
30
Adaptors
@@ -56,14 +56,14 @@ codec
56
56
codecs
57
57
combinator
58
58
combinators
59
- Config
60
59
config
60
+ Config
61
61
connectionless
62
62
cpu
63
63
cpus
64
64
Customizable
65
- Datagram
66
65
datagram
66
+ Datagram
67
67
datagrams
68
68
deallocate
69
69
deallocated
@@ -73,8 +73,8 @@ dequeued
73
73
deregister
74
74
deregistered
75
75
deregistering
76
- Deregisters
77
76
deregisters
77
+ Deregisters
78
78
deregistration
79
79
descriptor's
80
80
destructor
@@ -122,8 +122,8 @@ implementor
122
122
implementors
123
123
incrementing
124
124
interoperate
125
- Invariants
126
125
invariants
126
+ Invariants
127
127
io
128
128
IOCP
129
129
iOS
@@ -149,8 +149,8 @@ misconfigured
149
149
mock's
150
150
mpmc
151
151
mpsc
152
- Multi
153
152
multi
153
+ Multi
154
154
multicast
155
155
Multithreaded
156
156
mut
@@ -191,8 +191,8 @@ resize
191
191
resized
192
192
RMW
193
193
runtime
194
- runtimes
195
194
runtime's
195
+ runtimes
196
196
rwlock
197
197
rx
198
198
scalability
@@ -229,24 +229,24 @@ symlinks
229
229
sys
230
230
syscall
231
231
syscalls
232
- TCP
233
232
tcp
233
+ TCP
234
234
TestU01
235
235
threadpool
236
236
timestamp
237
237
timestamps
238
238
TLS
239
239
TOCTOU
240
240
TODO
241
- Tokio
242
241
tokio
242
+ Tokio
243
243
tokio's
244
244
Tokio's
245
- Tuple
246
245
tuple
246
+ Tuple
247
247
tx
248
- UDP
249
248
udp
249
+ UDP
250
250
UID
251
251
unhandled
252
252
unix
@@ -255,8 +255,8 @@ unpark
255
255
Unpark
256
256
unparked
257
257
unparking
258
- Unparks
259
258
unparks
259
+ Unparks
260
260
unreceived
261
261
unsafety
262
262
Unsets
You can’t perform that action at this time.
0 commit comments