From e2f72a92d5cd6b5ace35190dad527119de2f812e Mon Sep 17 00:00:00 2001 From: Alexander McCord <11488393+alexmccord@users.noreply.github.com> Date: Tue, 1 Mar 2022 14:23:16 -0800 Subject: [PATCH] Remove "Example:" because I didn't use it consistently enough. --- rfcs/syntax-metatable-type-annotation.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rfcs/syntax-metatable-type-annotation.md b/rfcs/syntax-metatable-type-annotation.md index f2140403..70748d03 100644 --- a/rfcs/syntax-metatable-type-annotation.md +++ b/rfcs/syntax-metatable-type-annotation.md @@ -119,8 +119,6 @@ A few other alternative designs have been proposed in the past, but ultimately w ### 1: `setmetatable()` -Example: - ```lua type Vec3 = setmetatable({ x: number, y: number, z: number }, { __add: (Vec3, Vec3) -> Vec3 }) ``` @@ -173,8 +171,6 @@ setmetatable({ ### 2: `setmetatable<>` -Example: - ```lua type Vec3 = setmetatable<{ x: number, y: number, z: number }, { __add: (Vec3, Vec3) -> Vec3 }> ```