this post was submitted on 25 Jun 2023
7 points (100.0% liked)
Rust Programming
7734 readers
1 users here now
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Then make a vector of colors, and make a function that
match
es string to index in that vector