Skip to content

Commit

Permalink
Update example for v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
landhb committed Oct 7, 2022
1 parent 6222401 commit 943547c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/keyctl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let perms = KeyPermissionsBuilder::builder()
.user(Permission::ALL)
.build();
key.set_perm(perms)?;
key.set_perms(perms)?;
}
// Search for an existing key by description and attempt to
// invalidate they key
Expand Down

0 comments on commit 943547c

Please sign in to comment.