From 21f421ca3549aff05ce2490db827a5acbed6d6fc Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 7 Nov 2022 12:04:15 +0100 Subject: [PATCH] Make ci package build on 1.41 again --- ci/src/task.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/src/task.rs b/ci/src/task.rs index ed55bdda..b6740549 100644 --- a/ci/src/task.rs +++ b/ci/src/task.rs @@ -57,8 +57,8 @@ pub fn test(args: TestArgs) -> bool { command.arg("--lib"); } - if let Some(ref features) = features { - command.args(["--features", features]); + if let Some(features) = &features { + command.args(&["--features", features]); } println!("running {:?}", command);