From c2dfe95d930e1878dc0800d375953b95e0bd1d98 Mon Sep 17 00:00:00 2001 From: Igor Matuszewski Date: Thu, 5 Oct 2017 17:19:11 +0200 Subject: [PATCH] Fix unused warning in util.rs for Windows --- src/util.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util.rs b/src/util.rs index c077440..7f48c47 100644 --- a/src/util.rs +++ b/src/util.rs @@ -6,6 +6,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#[cfg(unix)] macro_rules! option_try( ($e:expr) => (match $e { Some(e) => e, None => return None }) );