From 50165dd3e7fa905e0ea4c9683afcde2684aaab13 Mon Sep 17 00:00:00 2001 From: Yaodong Yu <2814461814@qq.com> Date: Mon, 31 Jul 2023 22:09:45 +0800 Subject: [PATCH] fix: fix typo in RBACWithDomainsAPI.mdx (#199) --- docs/RBACWithDomainsAPI.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/RBACWithDomainsAPI.mdx b/docs/RBACWithDomainsAPI.mdx index dca080e1..21310281 100644 --- a/docs/RBACWithDomainsAPI.mdx +++ b/docs/RBACWithDomainsAPI.mdx @@ -371,7 +371,7 @@ res, _ := e.GetAllDomains() :::note -If you are handling a domain like ```name::domain```, it may lead to unexpected behavior. In Casbin, ```::``` is a reversed keyword, just like ```for```, ```if``` in a programming language, we should never put ```::``` in a domain. +If you are handling a domain like ```name::domain```, it may lead to unexpected behavior. In Casbin, ```::``` is a reserved keyword, just like ```for```, ```if``` in a programming language, we should never put ```::``` in a domain. :::