From ef386723f2513416143fedd1a64ecfe3cb83d1f7 Mon Sep 17 00:00:00 2001 From: Aviral Goel Date: Tue, 6 Aug 2024 09:45:43 -0700 Subject: [PATCH] Update docs/syntax-attribute-functions-deprecated.md Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com> --- docs/syntax-attribute-functions-deprecated.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/syntax-attribute-functions-deprecated.md b/docs/syntax-attribute-functions-deprecated.md index edd21dc..fd9728d 100644 --- a/docs/syntax-attribute-functions-deprecated.md +++ b/docs/syntax-attribute-functions-deprecated.md @@ -29,8 +29,10 @@ If `foo` is a member of class `bar`, the warning messages above will start as `" Consider the following example. Function `printTable` is marked deprecated. ```lua -@[deprecated {use = "table.foreach(table, print)", - reason = "`printTable` forces tables to be printed in one style; `table.foreach` allows configurable printing."}] +@[deprecated { + use = "table.foreach(table, print)", + reason = "`printTable` forces tables to be printed in one style; `table.foreach` allows configurable printing.", +}] local function printTable(t) for k,v in pairs(t) do print(k, v)