Y
Hacker News
new
|
ask
|
show
|
jobs
by
ncmncm
1422 days ago
Arc is equivalent to std::shared_ptr, and so
ought
to be code smell in Rust.
The .clone() would have been [=] in C++, which would have safely quieted the warning.