Y
Hacker News
new
|
ask
|
show
|
jobs
by
pjmlp
2208 days ago
Nice work.
The amount of "
.to_owned()
" just begs to use some kind of macro though.
1 comments
SilasX
2208 days ago
Yeah I'd appreciate if a rustacean would explain the canonical way of DRYing that up, at least if it's non-obvious, something other "run a loop over a variable holding the dictionary literal".
link