From 0bcd1bc7780ad11c398def0717a24214e16bdc6a Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Wed, 12 Sep 2018 17:41:31 +0200 Subject: [PATCH] gnu: rust@1.19.0: Use match-lambda directly. Follow-up to 3159ef7c99c646b78b04cedb1bd3525c301ef978. * gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Use match-lambda directly. --- gnu/packages/rust.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 631dcfd67c..e51d90328a 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -408,7 +408,7 @@ (define rust-1.19 ;; but right now, Cargo has problems with libstd's circular ;; dependencies. (mkdir-p "output/target-libs") - (for-each ((@ (ice-9 match) match-lambda) + (for-each (match-lambda ((name . flags) (write name) (newline)