Reformat code

This commit is contained in:
micialware committed 2026-08-31 11:26:05 +03:00
1 parent 2fc58fcc2d
commit 29a90d48d9
8 files changed
+26 -33

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@ pub mod repositories;
use rusqlite::ToSql;
use rusqlite::types::{FromSql, FromSqlError, FromSqlResult, ToSqlOutput, ValueRef};
use std::fmt::{write, Display, Formatter};
use std::fmt::{Display, Formatter, write};
use std::num::ParseIntError;
use std::str::FromStr;
@@ -63,7 +63,7 @@ macro_rules! id_impl {
self.0 != 0
}
}
}
};
}
id_impl!(u32, Id, INVALID_ID);
@@ -79,4 +79,4 @@ impl From<Id> for SmallId {
fn from(value: Id) -> Self {
Self(value.0 as u16)
}
}
}