From 935f5e4662b9073439d08435647685fa8f6e7900 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};