-
Notifications
You must be signed in to change notification settings - Fork 12
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: #73 (comment) Signed-off-by: Dhanuka Warusadura <[email protected]>
- Loading branch information
1 parent
2ab4b4b
commit 32d34e7
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