Modify debug/unbreak and tuple/setmap docstrings (#1864)

Co-authored-by: sogaiu <983021772@users.noreply.github.com>
This commit is contained in:
sogaiuandsogaiu authored and GitHub committed 2026-09-12 18:40:01 -05:00
1 parent 71f9535509
commit ecadc17e2a
2 files changed
+7 -7

No files matched your search

+4 -4
View File
@@ -232,10 +232,10 @@ JANET_CORE_FN(cfun_debug_break,
}
JANET_CORE_FN(cfun_debug_unbreak,
"(debug/unbreak source line column)",
"Remove a breakpoint with a source key at a given line and column. "
"Will throw an error if the breakpoint "
"cannot be found.") {
"(debug/unbreak source line col)",
"Remove a breakpoint from `source` at a given `line` and "
"`col`. Will throw an error if the breakpoint cannot be "
"found.") {
JanetFuncDef *def;
int32_t offset = 0;
helper_find(argc, argv, &def, &offset);
+3 -3
View File
@@ -106,9 +106,9 @@ JANET_CORE_FN(cfun_tuple_sourcemap,
}
JANET_CORE_FN(cfun_tuple_setmap,
"(tuple/setmap tup line column)",
"Set the sourcemap metadata on a tuple. line and column indicate "
"should be integers.") {
"(tuple/setmap tup line col)",
"Set the sourcemap metadata on a tuple, `tup`. `line` and "
"`col` should be integers.") {
janet_fixarity(argc, 3);
const Janet *tup = janet_gettuple(argv, 0);
janet_tuple_head(tup)->sm_line = janet_getinteger(argv, 1);