projects
/
mandelwow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace std::time with the wasm-compatible crate instant
[mandelwow.git]
/
main.rs
diff --git
a/main.rs
b/main.rs
index 4aa56cbf57c9d5e0517803c6153d380b811a8ad2..d6cd210c2cfa406151f3784f91536fc7192cc070 100644
(file)
--- a/
main.rs
+++ b/
main.rs
@@
-6,7
+6,7
@@
use glium::{Display, Program, Surface, uniform};
use mandelwow_lib::*;
use std::f32::consts::PI;
use std::rc::Rc;
-use
std::time
::{Duration, Instant};
+use
instant
::{Duration, Instant};
#[cfg(target_os = "emscripten")]
use std::os::raw::{c_int, c_void};