diff --git a/src/nex/account.rs b/src/nex/account.rs index 53728ed..2763aed 100644 --- a/src/nex/account.rs +++ b/src/nex/account.rs @@ -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