Closed EricCrosson closed 2 years ago
I'm still new to Rust, so I hope this is somewhat idiomatic and definitely useful, but I'm very open to feedback!
If this does turn out to be a desirable change I am happy to update the linear/spot files to match.
Actually I also new to rust. I checked rust docs about AsRef<T>
, it seems an appropriate usage here. Feel free to make the changes.
Sounds good @jukanntenn, I've updated all uses of &Vec<String>
Do not require the caller to pass owned strings, since a reference will suffice.