mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 01:00:12 +00:00
refactor(commands): also use smolstr for commands themselves
This commit is contained in:
parent
af523a4c23
commit
b9867e7ea3
3 changed files with 12 additions and 8 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue