mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-09 01:18:35 +03:00
Fix clippy lint in cap-std bits
This commit is contained in:
parent
001839b35f
commit
37d0ca41b6
@ -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()) }
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user