Skip to content

Commit

Permalink
Fix warnings from Clippy & GitHub JSON schema (#49)
Browse files Browse the repository at this point in the history
Clippy:

> this expression borrows a reference (`&acl::PosixACL`) that is immediately dereferenced by the compiler

GitHub `.github/workflows/tests.yml` schedule failed JSON schema regex validation.
  • Loading branch information
intgr committed Aug 3, 2021
1 parent 460fea6 commit 9769284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
branches: [master]
pull_request:
schedule:
# 16:18 UTC on Tuesdays
- cron: "18 16 * * tue"
# 16:38 UTC on Tuesdays
- cron: "38 16 * * TUE"
repository_dispatch:
types: [tests]

Expand Down
2 changes: 1 addition & 1 deletion src/acl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl PosixACL {

/// Iterator of `acl_entry_t`, unsafe
pub(crate) unsafe fn raw_iter(&self) -> RawACLIterator {
RawACLIterator::new(&self)
RawACLIterator::new(self)
}

/// Get all ACLEntry items. The POSIX ACL C API does not allow multiple parallel iterators so we
Expand Down

0 comments on commit 9769284

Please sign in to comment.