forked from rust-unofficial/patterns
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[idioms/ctor] adds default constructor section (rust-unofficial#280)
Replaced the `Vec` example with `Second`. This is easier to comprehend compared to the more complex `Vec` example. It's also testable because it doesn't rely on `RawVec`. Co-authored-by: Marco Ieni <[email protected]> Co-authored-by: simonsan <[email protected]>
- Loading branch information
1 parent
39a2f36
commit fa8e722
Showing
1 changed file
with
93 additions
and
21 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