File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 3
3
All notable changes to this project will be documented in this file.
4
4
This project adheres to [ Semantic Versioning] ( https://semver.org/ ) .
5
5
6
+ ## [ Unreleased] - ReleaseDate
7
+
8
+ ### Fixed
9
+
10
+ - Relaxed lifetime requirements for ` PollFd::new ` .
11
+ ([ #2134 ] ( https://github.com/nix-rust/nix/pull/2134 ) )
12
+
6
13
## [ 0.27.1] - 2023-08-28
7
14
8
15
### Fixed
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ impl<'fd> PollFd<'fd> {
36
36
//
37
37
// // Do something with `pollfd`, which uses the CLOSED fd.
38
38
// ```
39
- pub fn new < Fd : AsFd > ( fd : & ' fd Fd , events : PollFlags ) -> PollFd < ' fd > {
39
+ pub fn new < Fd : AsFd + ' fd > ( fd : Fd , events : PollFlags ) -> PollFd < ' fd > {
40
40
PollFd {
41
41
pollfd : libc:: pollfd {
42
42
fd : fd. as_fd ( ) . as_raw_fd ( ) ,
You can’t perform that action at this time.
0 commit comments