Skip to content

Commit 51acceb

Browse files
authoredJul 29, 2020
Merge pull request #9 from hackerchai/master
Feat: update latest usage in README.md
2 parents 19054d4 + 4b290ae commit 51acceb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async fn main() -> Result<()> {
3131

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

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

3636
let res = addr
3737
.send(CasbinCmd::Enforce(

0 commit comments

Comments
 (0)
Please sign in to comment.