projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001839b
)
Fix clippy lint in cap-std bits
author
Colin Walters
<walters@verbum.org>
Thu, 23 Jun 2022 18:58:00 +0000
(14:58 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 23 Jun 2022 18:58:00 +0000
(14:58 -0400)
rust-bindings/src/repo.rs
patch
|
blob
|
history
diff --git
a/rust-bindings/src/repo.rs
b/rust-bindings/src/repo.rs
index 5d34f98b44f55730b9cea7a1aea54a909ab3619b..a8ddbca1b892805c2f94ef49135b880b629ea2b0 100644
(file)
--- a/
rust-bindings/src/repo.rs
+++ b/
rust-bindings/src/repo.rs
@@
-153,7
+153,7
@@
impl Repo {
/// Borrow the directory file descriptor for this repository.
#[cfg(feature = "cap-std-apis")]
- pub fn dfd_borrow
<'a>(&'a self) -> io_lifetimes::BorrowedFd<'a>
{
+ pub fn dfd_borrow
(&self) -> io_lifetimes::BorrowedFd
{
unsafe { io_lifetimes::BorrowedFd::borrow_raw_fd(self.dfd()) }
}