Skip to content

Commit f38f06c

Browse files
committed
of -> with
1 parent b62bed7 commit f38f06c

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/analysis/syntax_doc.ml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,14 +222,14 @@ let get_mode_doc mode =
222222
Some "Values with this mode can escape any region"
223223
| Monadic Contention, Contended ->
224224
Some
225-
"The mutable parts of values of this mode cannot be accessed (unless \
225+
"The mutable parts of values with this mode cannot be accessed (unless \
226226
they are atomic)"
227227
| Monadic Contention, Shared ->
228228
Some
229-
"The mutable parts of values of this mode can be read, but not written \
230-
(unless they are atomic)"
229+
"The mutable parts of values with this mode can be read, but not \
230+
written (unless they are atomic)"
231231
| Monadic Contention, Uncontended ->
232-
Some "The mutable parts of values of this mode can be fully accessed"
232+
Some "The mutable parts of values with this mode can be fully accessed"
233233
| Comonadic Portability, Nonportable ->
234234
Some
235235
"Values with this mode cannot be sent to other threads, in order to \
@@ -253,12 +253,13 @@ let get_mode_doc mode =
253253
| Comonadic Yielding, Unyielding ->
254254
Some "Functions within this value will never jump to an effect handler"
255255
| Monadic Visibility, Immutable ->
256-
Some "The mutable parts of values of this mode cannot be accessed"
256+
Some "The mutable parts of values with this mode cannot be accessed"
257257
| Monadic Visibility, Read ->
258258
Some
259-
"The mutable parts of values of this mode can be read, but not written"
259+
"The mutable parts of values with this mode can be read, but not \
260+
written"
260261
| Monadic Visibility, Read_write ->
261-
Some "The mutable parts of values of this mode can be fully accessed"
262+
Some "The mutable parts of values with this mode can be fully accessed"
262263
| Comonadic Statefulness, Stateful ->
263264
Some "Functions with this mode can read and write mutable data"
264265
| Comonadic Statefulness, Observing ->

0 commit comments

Comments
 (0)