casbin / casbin-rs

An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.
https://casbin.org
Apache License 2.0
851 stars 72 forks source link

fix(clippy): try to make clippy happy #281

Closed PsiACE closed 2 years ago

PsiACE commented 2 years ago

Signed-off-by: Chojan Shang psiace@outlook.com

Fixes: #277

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.

casbin-bot commented 2 years ago

@smrpn @hackerchai @GopherJ please review

codecov[bot] commented 2 years ago

Codecov Report

Merging #281 (37cc9c8) into master (8af4693) will increase coverage by 0.03%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #281      +/-   ##
==========================================
+ Coverage   80.95%   80.99%   +0.03%     
==========================================
  Files          23       23              
  Lines        3329     3325       -4     
==========================================
- Hits         2695     2693       -2     
+ Misses        634      632       -2     
Impacted Files Coverage Δ
src/rbac_api.rs 89.46% <100.00%> (+0.28%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8af4693...37cc9c8. Read the comment docs.

casbin-bot commented 2 years ago

@smrpn @hackerchai @GopherJ please review