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/error.rs | |
parent | 307c55465c1a4c99620382576333d6fc712bf6fd (diff) | |
download | pty-process-0f20c79767ea711931b29525905bf90b1cd4f556.tar.gz pty-process-0f20c79767ea711931b29525905bf90b1cd4f556.zip |
swap argument order
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 5253cd9..effee47 100644 --- a/src/error.rs +++ b/src/error.rs @@ -10,7 +10,7 @@ pub enum Error { CreatePty(#[source] nix::Error), #[error("error opening pts at {0}")] - OpenPts(std::path::PathBuf, #[source] std::io::Error), + OpenPts(#[source] std::io::Error, std::path::PathBuf), #[error("error setting terminal size")] SetTermSize(#[source] nix::Error), |