From fb95634d8c4693732e525efe79a1fe1ab004d19f Mon Sep 17 00:00:00 2001 From: Felipe Jorge Date: Fri, 26 Apr 2019 14:38:03 -0300 Subject: [PATCH] Fix for nostd builds (#589) --- nalgebra-glm/src/common.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nalgebra-glm/src/common.rs b/nalgebra-glm/src/common.rs index c9f9c265..eda9f295 100644 --- a/nalgebra-glm/src/common.rs +++ b/nalgebra-glm/src/common.rs @@ -1,6 +1,6 @@ use na::{self, DefaultAllocator, RealField}; use num::FromPrimitive; -use std::mem; +use core::mem; use crate::aliases::{TMat, TVec}; use crate::traits::{Alloc, Dimension, Number};