Skip to content

Commit

Permalink
Tiny documentation fix. (#5659)
Browse files Browse the repository at this point in the history
There are plenty of lines longer than 80 characters, and spliting the function declaration across two lines can be momentarily confusing.
  • Loading branch information
BluebirdGreycoat authored and nerzhul committed Apr 26, 2017
1 parent 2818d3f commit 70ceeb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/lua_api.txt
Expand Up @@ -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"}`
Expand Down

0 comments on commit 70ceeb8

Please sign in to comment.