Foone🏳️⚧️ on Nostr: now I'm trying to figure out the following: I have a vector of Commands (which is an ...
now I'm trying to figure out the following:
I have a vector of Commands (which is an enum). Some of them are Include commands. I need to go through the vec and replace the Include commands with the Commands from the item they're supposed to Include.
So I need to iterate through the vec and do something special when the command is an Include vs something else.
I have a vector of Commands (which is an enum). Some of them are Include commands. I need to go through the vec and replace the Include commands with the Commands from the item they're supposed to Include.
So I need to iterate through the vec and do something special when the command is an Include vs something else.