Skip to content

Commit

Permalink
Improve OpenptyResult documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Jul 18, 2017
1 parent 5d29650 commit bb4105a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ use {Errno, Result, Error, fcntl};

/// Representation of a master/slave pty pair
///
/// This is returned by `openpty`
/// This is returned by `openpty`. Note that this type does *not* implement `Drop`, so the user
/// must manually close the file descriptors.
pub struct OpenptyResult {
pub master: RawFd,
pub slave: RawFd,
Expand Down

0 comments on commit bb4105a

Please sign in to comment.