forked from bilelmoussaoui/oo7
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add set_collections() setter and update create_collection()
Since Collection is not using and cannot be implemented (easily) Copy or Clone traits, the only way to clone a struct Collection is call Collection::new() passing getter values. Removed set_collections() setter. See: bilelmoussaoui#73 (comment) Signed-off-by: Dhanuka Warusadura <[email protected]>
- Loading branch information
1 parent
420c2b4
commit d2b5b1b
Showing
2 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters