summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-02 13:01:49 -0600
committermo khan <mo@mokhan.ca>2025-07-02 13:01:49 -0600
commit555b0cbfe8a43287dcb16ecd0e6011b2392f83d3 (patch)
treebb5e9cea4fd62c5171af66fc71495f4bc65de576
parent0fcd18012c0069266d7f94f232eb6971dae72d53 (diff)
chore: fix linter errors
-rw-r--r--src/authorization/cedar_authorizer.rs4
1 files changed, 2 insertions, 2 deletions
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}\""))?,
);
}