Skip to content

Commit c0655aa

Browse files
committed
Improved entry about newtypes in CHANGELOG.
1 parent 6e70bc9 commit c0655aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
3232
- Changed type signature of `sys::select::FdSet::contains` to make `self`
3333
immutable ([#564](https://github.com/nix-rust/nix/pull/564))
3434
- Changed type of `sched::sched_setaffinity`'s `pid` argument to `pid_t`
35-
- Newtypes for UID, GID, and PID. `uid_t` changed to `Uid`, `gid_t` changed to
36-
`Gid`, `pid_t` changed to `Pid`.
35+
- Introduced wrapper types for gid_t, pid_t, and uid_t as Gid, Pid, and Uid
36+
respectively. Various functions have been changed to use these new types as
37+
arguments. ([#629](https://github.com/nix-rust/nix/pull/629))
3738

3839
### Removed
3940
- Removed io::Error from nix::Error and conversion from nix::Error to Errno

0 commit comments

Comments
 (0)