mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +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",
|
||||
.args = {"e"},
|
||||
.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.
|
||||
)",
|
||||
.fun = prim_stringLength,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue