Lifetime not necessary on CommandExecutor
This commit is contained in:
parent
b82b87345e
commit
c4d0397fb5
|
@ -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 }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue