Lifetime not necessary on CommandExecutor

This commit is contained in:
projectmoon 2024-01-17 10:36:44 +01:00
parent b82b87345e
commit c4d0397fb5
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ pub struct CommandExecutor {
db: Rc<Database>,
}
impl<'a> CommandExecutor {
impl CommandExecutor {
pub fn new(logic: Rc<AiLogic>, db: Rc<Database>) -> CommandExecutor {
CommandExecutor { logic, db }
}