File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,16 @@ This project adheres to [Semantic Versioning](https://semver.org/).
14
14
(#[ 1457] ( https://github.com/nix-rust/nix/pull/1457 ) )
15
15
16
16
### 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
+
17
27
### Fixed
18
28
### Removed
19
29
@@ -46,9 +56,6 @@ This project adheres to [Semantic Versioning](https://semver.org/).
46
56
(#[ 1440] ( https://github.com/nix-rust/nix/pull/1440 ) )
47
57
- Minimum supported Rust version is now 1.41.0.
48
58
([ #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 ) )
52
59
- Errno aliases are now associated consts on ` Errno ` , instead of consts in the
53
60
` errno ` module.
54
61
(#[ 1452] ( https://github.com/nix-rust/nix/pull/1452 ) )
You can’t perform that action at this time.
0 commit comments