Skip to content

Commit b332a92

Browse files
authored
RFC for mem::discriminant()
1 parent 773cbfb commit b332a92

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

text/0000-discriminant.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
- Feature Name: (fill me in with a unique ident, my_awesome_feature)
2+
- Start Date: (fill me in with today's date, YYYY-MM-DD)
3+
- RFC PR: (leave this empty)
4+
- Rust Issue: (leave this empty)
5+
6+
# Summary
7+
[summary]: #summary
8+
9+
One para explanation of the feature.
10+
11+
# Motivation
12+
[motivation]: #motivation
13+
14+
Why are we doing this? What use cases does it support? What is the expected outcome?
15+
16+
# Detailed design
17+
[design]: #detailed-design
18+
19+
This is the bulk of the RFC. Explain the design in enough detail for somebody familiar
20+
with the language to understand, and for somebody familiar with the compiler to implement.
21+
This should get into specifics and corner-cases, and include examples of how the feature is used.
22+
23+
# Drawbacks
24+
[drawbacks]: #drawbacks
25+
26+
Why should we *not* do this?
27+
28+
# Alternatives
29+
[alternatives]: #alternatives
30+
31+
What other designs have been considered? What is the impact of not doing this?
32+
33+
# Unresolved questions
34+
[unresolved]: #unresolved-questions
35+
36+
What parts of the design are still TBD?

0 commit comments

Comments
 (0)