mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Clarify stringLength is counting bytes
This commit is contained in:
parent
c0b6907ccd
commit
c39afb28db
1 changed files with 1 additions and 1 deletions
|
@ -3859,7 +3859,7 @@ static RegisterPrimOp primop_stringLength({
|
||||||
.name = "__stringLength",
|
.name = "__stringLength",
|
||||||
.args = {"e"},
|
.args = {"e"},
|
||||||
.doc = R"(
|
.doc = R"(
|
||||||
Return the length of the string *e*. If *e* is not a string,
|
Return the number of bytes of the string *e*. If *e* is not a string,
|
||||||
evaluation is aborted.
|
evaluation is aborted.
|
||||||
)",
|
)",
|
||||||
.fun = prim_stringLength,
|
.fun = prim_stringLength,
|
||||||
|
|
Loading…
Reference in a new issue