From 551bc931367e03824947ff3e48e455312b020455 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sun, 17 May 2015 22:37:06 -0700 Subject: [PATCH] Remove nightly-only push_all --- quasi/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quasi/src/lib.rs b/quasi/src/lib.rs index d099a912..e7c73b96 100644 --- a/quasi/src/lib.rs +++ b/quasi/src/lib.rs @@ -173,7 +173,7 @@ macro_rules! impl_to_tokens_slice { let mut v = vec![]; for (i, x) in self.iter().enumerate() { if i > 0 { - v.push_all(&$sep); + v.extend($sep.iter().cloned()); } v.extend(x.to_tokens(cx)); }