File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,8 @@ impl Authorizer {
305
305
/// The Authorizer will attempt to make as much progress as possible in the presence of unknowns.
306
306
/// If the Authorizer can reach a response, it will return that response.
307
307
/// 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 (
309
310
& self ,
310
311
query : & Request ,
311
312
policy_set : & PolicySet ,
@@ -1331,6 +1332,7 @@ impl PolicySet {
1331
1332
/// create the ESTs from the policy text or CST instead, as the conversion
1332
1333
/// to AST is lossy. ESTs generated by this method will reflect the AST and
1333
1334
/// not the original policy syntax.
1335
+ #[ allow( dead_code) ]
1334
1336
fn from_ast ( ast : ast:: PolicySet ) -> Self {
1335
1337
let policies = ast
1336
1338
. policies ( )
You can’t perform that action at this time.
0 commit comments