From b432671979d4e7a2df8cd806bf170483ebacc205 Mon Sep 17 00:00:00 2001
From: boyned//Kampfkarren <boynedmaster@gmail.com>
Date: Fri, 5 Nov 2021 13:30:28 -0700
Subject: [PATCH] Fix typo in code example

---
 rfcs/syntax-nil-navigation-operator.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rfcs/syntax-nil-navigation-operator.md b/rfcs/syntax-nil-navigation-operator.md
index bd813a5e..0360aa02 100644
--- a/rfcs/syntax-nil-navigation-operator.md
+++ b/rfcs/syntax-nil-navigation-operator.md
@@ -12,7 +12,7 @@ Currently, attempting to index `dog.name` while caring for `dog` being nil requi
 
 ```lua
 local dogName = nil
-if dog.name ~= nil then
+if dog ~= nil then
     dogName = dog.name
 end
 ```