diff options
author | Bluebird <bluebird.greycoat@gmail.com> | 2017-04-26 00:24:15 -0500 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-26 07:24:15 +0200 |
commit | 70ceeb80a180507e38db957f217e2c78ce901692 (patch) | |
tree | c5a2e55fb52f53b8ec7c711303966436cd36b54f | |
parent | 2818d3f2244d2146a5cdb61cd41f6561c514f97c (diff) | |
download | minetest-70ceeb80a180507e38db957f217e2c78ce901692.tar.gz minetest-70ceeb80a180507e38db957f217e2c78ce901692.tar.bz2 minetest-70ceeb80a180507e38db957f217e2c78ce901692.zip |
Tiny documentation fix. (#5659)
There are plenty of lines longer than 80 characters, and spliting the function declaration across two lines can be momentarily confusing.
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index c3d8d2bf6..4f90e9223 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1919,8 +1919,7 @@ Helper functions * `math.sign(x, tolerance)` * Get the sign of a number. Optional: Also returns `0` when the absolute value is within the tolerance (default: `0`) -* `string.split(str, separator=",", include_empty=false, max_splits=-1, -* sep_is_pattern=false)` +* `string.split(str, separator=",", include_empty=false, max_splits=-1, sep_is_pattern=false)` * If `max_splits` is negative, do not limit splits. * `sep_is_pattern` specifies if separator is a plain string or a pattern (regex). * e.g. `string:split("a,b", ",") == {"a","b"}` |