mirror of
https://github.com/rust-unofficial/patterns
synced 2024-11-16 12:13:24 +00:00
684 B
684 B
A succinct name for the pattern
Description
A short, prose description of the pattern.
Example
// An example of the pattern in action, should be mostly code, commented
// liberally.
Motivation
Why and where you should use the pattern
Advantages
Good things about this pattern.
Disadvantages
Bad things about this pattern. Possible contraindications.
Discussion
A deeper discussion about this pattern. You might want to cover how this is done in other languages, alternative approaches, why this is particularly nice in Rust, etc.
See also
Related patterns (link to the pattern file). Versions of this pattern in other languages.