Glossary: Algorithms Beyond the Basics in Rust
Copy (of a vector)
Also written: clone, chosen.clone()
`chosen.clone()` makes a new vector with the same items, so later undo steps in backtracking cannot change a saved answer.
Glossary: Algorithms Beyond the Basics in Rust
Also written: clone, chosen.clone()
`chosen.clone()` makes a new vector with the same items, so later undo steps in backtracking cannot change a saved answer.