summaryrefslogtreecommitdiff
path: root/manual/manual.of
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-05-10 11:13:39 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2022-05-10 11:13:39 -0300
commite435aaabef8e717e0812a16a82b56acd11fb34c1 (patch)
tree331bf674e3db83d6141eba7c3426087e760dd630 /manual/manual.of
parent315639d3bbdff4f83d2ab55863141276cb882af0 (diff)
downloadlua-github-e435aaabef8e717e0812a16a82b56acd11fb34c1.tar.gz
Details (identation and typos)
Diffstat (limited to 'manual/manual.of')
-rw-r--r--manual/manual.of4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/manual.of b/manual/manual.of
index bd648c6c..30f92d60 100644
--- a/manual/manual.of
+++ b/manual/manual.of
@@ -2521,7 +2521,7 @@ In general,
Lua's garbage collection can free or move internal memory
and then invalidate pointers to internal strings.
To allow a safe use of these pointers,
-The API guarantees that any pointer to a string in a stack index
+the API guarantees that any pointer to a string in a stack index
is valid while the string value at that index is not removed from the stack.
(It can be moved to another index, though.)
When the index is a pseudo-index (referring to an upvalue),
@@ -5349,7 +5349,7 @@ Equivalent to the sequence
@APIEntry{void luaL_buffsub (luaL_Buffer *B, int n);|
@apii{?,?,-}
-Removes @id{n} bytes from the the buffer @id{B}
+Removes @id{n} bytes from the buffer @id{B}
@seeC{luaL_Buffer}.
The buffer must have at least that many bytes.