From 555b0cbfe8a43287dcb16ecd0e6011b2392f83d3 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 2 Jul 2025 13:01:49 -0600 Subject: chore: fix linter errors --- src/authorization/cedar_authorizer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/authorization/cedar_authorizer.rs b/src/authorization/cedar_authorizer.rs index a877cf87..f4004247 100644 --- a/src/authorization/cedar_authorizer.rs +++ b/src/authorization/cedar_authorizer.rs @@ -123,13 +123,13 @@ impl CedarAuthorizer { if !bearer_token.is_empty() { context_map.insert( "bearer_token".to_string(), - RestrictedExpression::from_str(&format!("\"{}\"", bearer_token))?, + RestrictedExpression::from_str(&format!("\"{bearer_token}\""))?, ); } if !path.is_empty() { context_map.insert( "path".to_string(), - RestrictedExpression::from_str(&format!("\"{}\"", path))?, + RestrictedExpression::from_str(&format!("\"{path}\""))?, ); } -- cgit v1.2.3