From fe58e81bbc80dfa6f22c3399affa6f798609e49c Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Sun, 14 May 2017 11:16:07 +0000 Subject: [PATCH] Add missing conditional import for collection::Vec. --- src/curve.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/curve.rs b/src/curve.rs index 46358ad..552e736 100644 --- a/src/curve.rs +++ b/src/curve.rs @@ -77,6 +77,9 @@ // affine and projective cakes and eat both of them too. #![allow(non_snake_case)] +#[cfg(not(feature = "std"))] +use collections::Vec; + use core::fmt::Debug; use core::iter::Iterator; use core::ops::{Add, Sub, Neg};