refactor: change function definitions to const for improved performance and clarity
This commit is contained in:
@@ -16,7 +16,7 @@ pub struct CoreConfigValidator {
|
||||
}
|
||||
|
||||
impl CoreConfigValidator {
|
||||
pub fn new() -> Self {
|
||||
pub const fn new() -> Self {
|
||||
Self {
|
||||
is_processing: AtomicBool::new(false),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user