Skip to content

Commit

Permalink
Merge pull request #9 from hackerchai/master
Browse files Browse the repository at this point in the history
Feat: update latest usage in README.md
  • Loading branch information
hackerchai authored Jul 29, 2020
2 parents 19054d4 + 4b290ae commit 51acceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async fn main() -> Result<()> {

let a = FileAdapter::new("examples/rbac_policy.csv");

let addr = CasbinActor::new(m, a).await?;
let addr = CasbinActor::<Enforcer>::new(m, a).await?;

let res = addr
.send(CasbinCmd::Enforce(
Expand Down

0 comments on commit 51acceb

Please sign in to comment.