projects
/
mandelwow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f93f7
)
Replace std::time with the wasm-compatible crate instant
author
Bernie Innocenti
<bernie@codewiz.org>
Tue, 31 Mar 2020 15:41:29 +0000
(
00:41
+0900)
committer
Bernie Innocenti
<bernie@codewiz.org>
Tue, 31 Mar 2020 15:41:29 +0000
(
00:41
+0900)
main.rs
patch
|
blob
|
history
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};