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
Fixed a bunch of clippy suggestions
[kaka/rust-sdl-test.git]
/
src
/
common
/
time.rs
diff --git
a/src/common/time.rs
b/src/common/time.rs
index
0468d5d
..
0902d94
100644
(file)
--- a/
src/common/time.rs
+++ b/
src/common/time.rs
@@
-9,7
+9,7
@@
pub struct ScopeTimer {
impl ScopeTimer {
pub fn new(name: &'static str) -> Self {
impl ScopeTimer {
pub fn new(name: &'static str) -> Self {
- ScopeTimer { start: Instant::now(), name
: name
}
+ ScopeTimer { start: Instant::now(), name }
}
}
}
}