From 8e9e5fbdf3b44ed8bf48471b75ecbd84a1caaf6d Mon Sep 17 00:00:00 2001 From: eidelmanjonathan Date: Fri, 14 Feb 2025 10:13:46 -0500 Subject: [PATCH] Update cedar-policy-core/src/parser/cst_to_ast.rs Co-authored-by: Craig Disselkoen --- cedar-policy-core/src/parser/cst_to_ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cedar-policy-core/src/parser/cst_to_ast.rs b/cedar-policy-core/src/parser/cst_to_ast.rs index 5535509b7..25fc319e8 100644 --- a/cedar-policy-core/src/parser/cst_to_ast.rs +++ b/cedar-policy-core/src/parser/cst_to_ast.rs @@ -169,7 +169,7 @@ impl Node> { self.to_policy_or_template_helper(id, false) } - /// Convert `cst::Policy` to an AST `InlinePolicy`. (Will fail if the CST is for a template) + /// Convert `cst::Policy` to an AST `StaticPolicy`. (Will fail if the CST is for a template) pub fn to_policy(&self, id: ast::PolicyID) -> Result { self.to_policy_helper(id, false) }