Skip to content

Commit 6e2e56a

Browse files
committed
zero-alloc desc changes
1 parent a2aca82 commit 6e2e56a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/analysis/syntax_doc.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ let get_oxcaml_syntax_doc cursor_loc nodes : syntax_info =
394394
Some
395395
{ name = "Zero-alloc assume annotation";
396396
description =
397-
"This function is assumed to be zero_alloc but the \
397+
"This function is assumed to be zero-alloc, but the \
398398
compiler does not guarantee it.";
399399
documentation = doc_url;
400400
level = Advanced
@@ -403,7 +403,7 @@ let get_oxcaml_syntax_doc cursor_loc nodes : syntax_info =
403403
Some
404404
{ name = "Zero-alloc assume_unless_opt annotation";
405405
description =
406-
"Same as [@zero_alloc opt] in optimized builds. Same as \
406+
"Same as [@zero_alloc opt] in optimized builds. Same as \
407407
[@zero_alloc assume] in non-optimized builds.";
408408
documentation = doc_url;
409409
level = Advanced
@@ -413,7 +413,7 @@ let get_oxcaml_syntax_doc cursor_loc nodes : syntax_info =
413413
{ name = "Zero-alloc strict annotation";
414414
description =
415415
"This function does not allocate on the OCaml heap (both \
416-
normal and exception returns).";
416+
normal and exceptional returns).";
417417
documentation = doc_url;
418418
level = Advanced
419419
}

0 commit comments

Comments
 (0)