diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-06 02:06:08 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-06 02:31:48 -0500 |
commit | 0f20c79767ea711931b29525905bf90b1cd4f556 (patch) | |
tree | dc91796e5b83abbabc5f54da550080baca41a758 /src/pty/tokio.rs | |
parent | 307c55465c1a4c99620382576333d6fc712bf6fd (diff) | |
download | pty-process-0f20c79767ea711931b29525905bf90b1cd4f556.tar.gz pty-process-0f20c79767ea711931b29525905bf90b1cd4f556.zip |
swap argument order
Diffstat (limited to 'src/pty/tokio.rs')
-rw-r--r-- | src/pty/tokio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty/tokio.rs b/src/pty/tokio.rs index cd8c7a5..c5af6bb 100644 --- a/src/pty/tokio.rs +++ b/src/pty/tokio.rs @@ -145,7 +145,7 @@ impl super::Pty for Pty { .read(true) .write(true) .open(&self.ptsname) - .map_err(|e| Error::OpenPts(self.ptsname.clone(), e))?; + .map_err(|e| Error::OpenPts(e, self.ptsname.clone()))?; Ok(fh) } |