Skip to content

Commit 6d3d479

Browse files
committed
Make an incompatible change to test SemVer checks
1 parent 5708c35 commit 6d3d479

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cedar-policy/src/api.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ impl Authorizer {
305305
/// The Authorizer will attempt to make as much progress as possible in the presence of unknowns.
306306
/// If the Authorizer can reach a response, it will return that response.
307307
/// Otherwise, it will return a list of residual policies that still need to be evaluated.
308-
pub fn is_authorized_partial(
308+
#[allow(dead_code)]
309+
fn is_authorized_partial(
309310
&self,
310311
query: &Request,
311312
policy_set: &PolicySet,
@@ -1331,6 +1332,7 @@ impl PolicySet {
13311332
/// create the ESTs from the policy text or CST instead, as the conversion
13321333
/// to AST is lossy. ESTs generated by this method will reflect the AST and
13331334
/// not the original policy syntax.
1335+
#[allow(dead_code)]
13341336
fn from_ast(ast: ast::PolicySet) -> Self {
13351337
let policies = ast
13361338
.policies()

0 commit comments

Comments
 (0)