Missing language hint on lume.extend's README example

This commit is contained in:
rxi 2015-05-05 19:37:52 +01:00
parent 2e00c753d8
commit cb95fea004

View File

@ -102,7 +102,7 @@ lume.clear(t) -- `t` becomes {}
Copies all the fields from the source tables to the table `t` and returns `t`. Copies all the fields from the source tables to the table `t` and returns `t`.
Tables are iterated in order, so the right-most table overrides existing Tables are iterated in order, so the right-most table overrides existing
fields. fields.
``` ```lua
local t = { a = 1, b = 2 } local t = { a = 1, b = 2 }
lume.extend(t, { b = 4, c = 6 }) -- `t` becomes { a = 1, b = 4, c = 6 } lume.extend(t, { b = 4, c = 6 }) -- `t` becomes { a = 1, b = 4, c = 6 }
``` ```