Dolda2000 GitWeb
/
kaka
/
rust-sdl-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed common to util
[kaka/rust-sdl-test.git]
/
src
/
util
/
time.rs
diff --git
a/src/common/time.rs
b/src/util/time.rs
similarity index 92%
rename from
src/common/time.rs
rename to
src/util/time.rs
index
0902d94
..
b533bb6
100644
(file)
--- a/
src/common/time.rs
+++ b/
src/util/time.rs
@@
-23,11
+23,11
@@
impl Drop for ScopeTimer {
#[macro_export]
macro_rules! time_scope {
() => {
#[macro_export]
macro_rules! time_scope {
() => {
- use
common
::ScopeTimer;
+ use
util
::ScopeTimer;
let _magical_scope_timer_ = ScopeTimer::new("scope");
};
( $name:expr ) => {
let _magical_scope_timer_ = ScopeTimer::new("scope");
};
( $name:expr ) => {
- use
common
::ScopeTimer;
+ use
util
::ScopeTimer;
let _magical_scope_timer_ = ScopeTimer::new($name);
};
}
let _magical_scope_timer_ = ScopeTimer::new($name);
};
}