refactor(commands): also use smolstr for commands themselves

This commit is contained in:
dusk 2025-01-04 07:43:55 +09:00
parent af523a4c23
commit b9867e7ea3
No known key found for this signature in database
3 changed files with 12 additions and 8 deletions

View file

@ -84,7 +84,7 @@ fn parse_command(input: String) -> CommandResult {
if let Some(command_ref) = local_tree.current_command_key {
return CommandResult::Ok {
command: ParsedCommand {
command_ref: command_ref.to_owned(),
command_ref: command_ref.into(),
args,
flags,
},