X-Git-Url: http://git.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fcommon%2Ftime.rs;fp=src%2Fcommon%2Ftime.rs;h=0902d9478849bae5b263b291044f0dbe961a259f;hb=0c56b1f7a5568d6bfbebd196cf63ccef503cf959;hp=0468d5d22871b544c372913033af4fc74b1126c7;hpb=7b724ff393ea83b7a2d43fbfa93199d0c395af92;p=kaka%2Frust-sdl-test.git diff --git a/src/common/time.rs b/src/common/time.rs index 0468d5d..0902d94 100644 --- 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 { - ScopeTimer { start: Instant::now(), name: name } + ScopeTimer { start: Instant::now(), name } } }