Skip to content

Commit

Permalink
rename lifetime from a to fd
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Nov 27, 2023
1 parent 74e8d44 commit 5cb41e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sys/sendfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ cfg_if! {

#[derive(Debug, Copy, Clone)]
/// Mapping of the raw C sendfilevec_t struct
pub struct SendfileVec<'a> {
pub struct SendfileVec<'fd> {
raw: libc::sendfilevec_t,
phantom: PhantomData<BorrowedFd<'a>>
phantom: PhantomData<BorrowedFd<'fd>>
}

impl<'fd> SendfileVec<'fd> {
Expand Down

0 comments on commit 5cb41e5

Please sign in to comment.