Skip to content

Commit

Permalink
Make a function public for use by DRT (#472)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-h-kastner-aws authored Dec 7, 2023
1 parent 9ee0a14 commit a8f517f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cedar-policy-core/src/parser/err.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ impl ToASTError {
Self { kind, source_info }
}

pub(crate) fn kind(&self) -> &ToASTErrorKind {
/// Get the error kind.
pub fn kind(&self) -> &ToASTErrorKind {
&self.kind
}

Expand Down

0 comments on commit a8f517f

Please sign in to comment.