Bump the version number to 0.5.1. (#2155)

* Bump the version number to 0.5.1.

* Fix clippy lints for 1.78.

* More clippy fixes.
This commit is contained in:
Laurent Mazare
2024-05-03 11:17:05 +02:00
committed by GitHub
parent a09d451d11
commit 89f53b9d7b
12 changed files with 22 additions and 80 deletions

View File

@ -1,26 +1,5 @@
pub const WITH_TIMER: bool = true;
struct Timer {
label: &'static str,
}
// impl Timer {
// fn new(label: &'static str) -> Self {
// if WITH_TIMER {
// web_sys::console::time_with_label(label);
// }
// Self { label }
// }
// }
impl Drop for Timer {
fn drop(&mut self) {
if WITH_TIMER {
web_sys::console::time_end_with_label(self.label)
}
}
}
mod app;
mod audio;
pub mod languages;