summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pty.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pty.rs b/src/pty.rs
index fd8ad98e..26c8b500 100644
--- a/src/pty.rs
+++ b/src/pty.rs
@@ -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,