Skip to content
Snippets Groups Projects
Commit a56915be authored by AdminXVII's avatar AdminXVII
Browse files

Remove the GetVariables Trait

The GetVariables Trait encouraged cloning rather than using references.
Since it is rarely the case that cloning is actually needed, it is
better to replace it entirely.
Furthermore, most of its usage included matching, so it does not
significantly increase general verbosity of the code.
To account for the env vars that must be fetched, a new method, get_str,
was introduced.
parent dfa748f2
No related branches found
No related tags found
No related merge requests found
Showing
with 465 additions and 496 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment