Skip to content

Commit

Permalink
Makes .parse for FFI PolicySet public (See #1437) (#1440)
Browse files Browse the repository at this point in the history
Signed-off-by: Mudit Chaudhary <chmudit@amazon.com>
  • Loading branch information
muditchaudhary authored Jan 23, 2025
1 parent 2aa652e commit 546410c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cedar-policy/src/ffi/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ pub struct PolicySet {

impl PolicySet {
/// Parse a [`PolicySet`] into a [`crate::PolicySet`]
pub(super) fn parse(self) -> Result<crate::PolicySet, Vec<miette::Report>> {
pub fn parse(self) -> Result<crate::PolicySet, Vec<miette::Report>> {
let mut errs = Vec::new();
// Parse static policies
let mut policies = self.static_policies.parse().unwrap_or_else(|mut e| {
Expand Down

0 comments on commit 546410c

Please sign in to comment.