This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 67471dc fix: remove redundant references in format! args
67471dc is described below
commit 67471dcdb20277ae4fdf0018672a719df58e2244
Author: Yang Luo <[email protected]>
AuthorDate: Fri Aug 7 16:51:07 2026 +0800
fix: remove redundant references in format! args
---
src/enforcer.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/enforcer.rs b/src/enforcer.rs
index c63cf36..fa58d50 100644
--- a/src/enforcer.rs
+++ b/src/enforcer.rs
@@ -95,7 +95,7 @@ impl EnforceContext {
pub fn get_cache_key(&self) -> String {
format!(
"EnforceContext{{{}-{}-{}-{}}}",
- &self.r_type, &self.p_type, &self.e_type, &self.m_type,
+ self.r_type, self.p_type, self.e_type, self.m_type,
)
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]