From e380f6b3d4817fa61f1a82c19f8c90fde84ac294 Mon Sep 17 00:00:00 2001 From: 4lDO2 <4lDO2@protonmail.com> Date: Mon, 10 Feb 2020 15:32:30 +0100 Subject: [PATCH] Allow syscall::Result to accept other error types. --- src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.rs b/src/error.rs index fde4796..9a4b0b5 100644 --- a/src/error.rs +++ b/src/error.rs @@ -5,7 +5,7 @@ pub struct Error { pub errno: i32, } -pub type Result = result::Result; +pub type Result = result::Result; impl Error { pub fn new(errno: i32) -> Error { -- GitLab