Is it bad practice to call clone a lot in Rust?

  Kiến thức lập trình

I have a fairly large Rust application, and, as I was scrolling through it, I realized that I had many clone calls. Is it considered evil or at least not best practice to have many calls of clone? Will it clog up the process? If so, what is the idiomatic method of replacing clone?

1

LEAVE A COMMENT