From 0f20c79767ea711931b29525905bf90b1cd4f556 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 6 Mar 2021 02:06:08 -0500 Subject: swap argument order --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/error.rs') 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), -- cgit v1.2.3-54-g00ecf