From 4469e7cbb8aae2c35b023fb3c0578908ff026e49 Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Fri, 3 Feb 2023 11:08:14 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com> --- docs/_pages/syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_pages/syntax.md b/docs/_pages/syntax.md index e1683fa5..68e24071 100644 --- a/docs/_pages/syntax.md +++ b/docs/_pages/syntax.md @@ -270,6 +270,6 @@ print(`Welcome to { The sequence of two opening braces {{ "(`{{`)" }} is rejected with a parse error. This restriction is made to prevent developers using other programming languages with a similar feature from trying to attempt that as a way to escape a single `{` and getting unexpected results in Luau. -Luau currently does not support backtick string literals as a type annotation, so ``type Foo = `Foo` `` is invalid. +Luau currently does not support backtick string literals as a type annotation, so `` type Foo = `Foo` `` is invalid. -Function calls with a backtick string literal without parenthesis is not supported, so ``print`hello` `` is invalid. +Function calls with a backtick string literal without parenthesis is not supported, so `` print`hello` `` is invalid.