Skip to content

Commit 714d6e9

Browse files
committed
Add CHANGELOG entry for PR #1446
1 parent 2d796eb commit 714d6e9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1414
(#[1457](https://github.com/nix-rust/nix/pull/1457))
1515

1616
### Changed
17+
- `ptsname_r` now returns a lossily-converted string in the event of bad UTF,
18+
just like `ptsname`.
19+
([#1446](https://github.com/nix-rust/nix/pull/1446))
20+
- Nix's error type is now a simple wrapper around the platform's Errno. This
21+
means it is now `Into<std::io::Error>`. It's also `Clone`, `Copy`, `Eq`, and
22+
has a small fixed size. It also requires less typing. For example, the old
23+
enum variant `nix::Error::Sys(nix::errno::Errno::EINVAL)` is now simply
24+
`nix::Error::EINVAL`.
25+
([#1446](https://github.com/nix-rust/nix/pull/1446))
26+
1727
### Fixed
1828
### Removed
1929

@@ -46,9 +56,6 @@ This project adheres to [Semantic Versioning](https://semver.org/).
4656
(#[1440](https://github.com/nix-rust/nix/pull/1440))
4757
- Minimum supported Rust version is now 1.41.0.
4858
([#1440](https://github.com/nix-rust/nix/pull/1440))
49-
- `ptsname_r` now returns a lossily-converted string in the event of bad UTF,
50-
just like `ptsname`.
51-
([#1446](https://github.com/nix-rust/nix/pull/1446))
5259
- Errno aliases are now associated consts on `Errno`, instead of consts in the
5360
`errno` module.
5461
(#[1452](https://github.com/nix-rust/nix/pull/1452))

0 commit comments

Comments
 (0)