Tiny documentation fix. (#5659)
authorBluebird <bluebird.greycoat@gmail.com>
Wed, 26 Apr 2017 05:24:15 +0000 (00:24 -0500)
committerLoïc Blot <nerzhul@users.noreply.github.com>
Wed, 26 Apr 2017 05:24:15 +0000 (07:24 +0200)
There are plenty of lines longer than 80 characters, and spliting the function declaration across two lines can be momentarily confusing.

doc/lua_api.txt

index c3d8d2bf6a0d94aad832ba9f7d20e0f01a21d248..4f90e922360d3cedc0f36fcb9a5065b05617c10f 100644 (file)
@@ -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"}`