Update rfcs/generic-functions.md

Co-authored-by: Tiffany Bennett <tiffany@tiffnix.com>
This commit is contained in:
Alan Jeffrey 2021-05-06 09:09:10 -05:00 committed by GitHub
parent e73e104257
commit a01935e96a
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ Extend the syntax and semantics of functions to support explicit generic functio
Currently Luau allows generic functions to be inferred but not given explicit type annotations. For example
```
```lua
function id(x) return x end
local x: string = id("hi")
local y: number = id(37)