diff options
author | Nelson Chen <crazysim@gmail.com> | 2017-08-24 00:47:20 -0700 |
---|---|---|
committer | Nelson Chen <crazysim@gmail.com> | 2017-08-24 10:40:07 -0700 |
commit | 505bed350d37811c1ed52302f4b820711a57041f (patch) | |
tree | cfe0af2bc6cbbd18242870f32f558dd9db95a6e2 /test/test_sendfile.rs | |
parent | b76cbeea39a1e11872e9316711ac093dc99ad91d (diff) | |
download | nix-505bed350d37811c1ed52302f4b820711a57041f.zip |
Mark and document pty::ptsname() as unsafe
`ptsname()` mutates global variables and mutating global variables is
always considered `unsafe` by Rust.
Reference:
https://github.com/nix-rust/nix/pull/742#issuecomment-324385919
Diffstat (limited to 'test/test_sendfile.rs')
0 files changed, 0 insertions, 0 deletions