casbin / casbin-rs

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

fix: make clippy happy #285

Closed PsiACE closed 2 years ago

PsiACE commented 2 years ago

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

casbin-bot commented 2 years ago

@smrpn @hackerchai @GopherJ please review

codecov[bot] commented 2 years ago

Codecov Report

Merging #285 (33b0e09) into master (7cce8b8) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   80.99%   80.99%           
=======================================
  Files          23       23           
  Lines        3325     3325           
=======================================
  Hits         2693     2693           
  Misses        632      632           
Impacted Files Coverage Δ
src/enforcer.rs 87.27% <ø> (ø)

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 7cce8b8...33b0e09. Read the comment docs.

PsiACE commented 2 years ago

cc @hackerchai PTAL

hsluoyz commented 2 years ago

@hackerchai

hackerchai commented 2 years ago

lgtm