feat(account): make new const

This commit is contained in:
DJMrTV 2025-02-01 17:38:09 +01:00
commit ffe4084ba3

View file

@ -6,7 +6,7 @@ struct Account{
}
impl Account{
fn new(pid: u32, passwd: &str) -> Self{
const fn new(pid: u32, passwd: &str) -> Self{
Self{
kerbros_password: passwd.into(),
pid