feat: rustc and clippy linting

This commit is contained in:
CleverWild
2026-04-10 00:42:43 +02:00
committed by Skipper
parent 96b4eb1d98
commit d4084ded35
69 changed files with 1491 additions and 979 deletions

View File

@@ -1,4 +1,3 @@
#![forbid(unsafe_code)]
use crate::context::ServerContext;
pub mod actors;
@@ -14,7 +13,7 @@ pub struct Server {
}
impl Server {
pub fn new(context: ServerContext) -> Self {
pub const fn new(context: ServerContext) -> Self {
Self { context }
}
}