fix names

This commit is contained in:
2024-06-20 12:06:18 +03:00
parent 8693e10979
commit 43a07debde
9 changed files with 18 additions and 20 deletions

View File

@@ -21,8 +21,7 @@ impl Plug {
}
impl DimPlugin for Plug {
fn init(&mut self) {
}
fn init(&mut self) {}
fn poll(&mut self, f: &mut dim_sdk::CBuffer) -> dim_sdk::Result<()> {
let start_date = NaiveDate::from_ymd_opt(2024, 3, 8).expect("Invalid date");
@@ -32,12 +31,9 @@ impl DimPlugin for Plug {
write!(f, "{} days <3", duration.num_days())?;
Ok(())
}
fn pre_reload(&mut self) {
}
fn post_reload(&mut self) {
}
fn free(&mut self) {
}
fn pre_reload(&mut self) {}
fn post_reload(&mut self) {}
fn free(&mut self) {}
}