You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explain the proposal as if it was already included in the language and you were teaching it to another Rust programmer. That generally means:
@@ -33,7 +33,7 @@ Explain the proposal as if it was already included in the language and you were
33
33
34
34
For implementation-oriented RFCs (e.g. for compiler internals), this section should focus on how compiler contributors should think about the change, and give examples of its concrete impact. For policy RFCs, this section should provide an example-driven introduction to the policy, and explain its impact in concrete terms.
- Why is this design the best in the space of possible designs?
56
56
- What other designs have been considered and what is the rationale for not choosing them?
57
57
- What is the impact of not doing this?
58
58
- If this is a language proposal, could this be done in a library or macro instead? Does the proposed change make Rust code easier or harder to read, understand, and maintain?
59
59
60
-
# Prior art
60
+
##Prior art
61
61
[prior-art]: #prior-art
62
62
63
63
Discuss prior art, both the good and the bad, in relation to this proposal.
@@ -74,14 +74,14 @@ If there is no prior art, that is fine - your ideas are interesting to us whethe
74
74
Note that while precedent set by other languages is some motivation, it does not on its own motivate an RFC.
75
75
Please also take into consideration that rust sometimes intentionally diverges from common language features.
76
76
77
-
# Unresolved questions
77
+
##Unresolved questions
78
78
[unresolved-questions]: #unresolved-questions
79
79
80
80
- What parts of the design do you expect to resolve through the RFC process before this gets merged?
81
81
- What parts of the design do you expect to resolve through the implementation of this feature before stabilization?
82
82
- What related issues do you consider out of scope for this RFC that could be addressed in the future independently of the solution that comes out of this RFC?
83
83
84
-
# Future possibilities
84
+
##Future possibilities
85
85
[future-possibilities]: #future-possibilities
86
86
87
87
Think about what the natural extension and evolution of your proposal would
The "RFC" (request for comments) process is intended to provide a
8
8
consistent and controlled path for new features to enter the language
9
9
and standard libraries, so that all stakeholders can be confident about
10
10
the direction the language is evolving in.
11
11
12
-
# Motivation
12
+
##Motivation
13
13
14
14
The freewheeling way that we add new features to Rust has been good for
15
15
early development, but for Rust to become a mature platform we need to
@@ -18,7 +18,7 @@ This is a proposal for a more principled RFC process to make it
18
18
a more integral part of the overall development process, and one that is
19
19
followed consistently to introduce features to Rust.
20
20
21
-
# Detailed design
21
+
##Detailed design
22
22
23
23
Many changes, including bug fixes and documentation improvements can be
24
24
implemented and reviewed via the normal GitHub pull request workflow.
@@ -27,7 +27,7 @@ Some changes though are "substantial", and we ask that these be put
27
27
through a bit of a design process and produce a consensus among the Rust
28
28
community and the [core team].
29
29
30
-
## When you need to follow this process
30
+
###When you need to follow this process
31
31
32
32
You need to follow this process if you intend to make "substantial"
33
33
changes to the Rust distribution. What constitutes a "substantial"
@@ -53,7 +53,7 @@ If you submit a pull request to implement a new feature without going
53
53
through the RFC process, it may be closed with a polite request to
54
54
submit an RFC first.
55
55
56
-
## What the process is
56
+
###What the process is
57
57
58
58
In short, to get a major feature added to Rust, one must first get the
59
59
RFC merged into the RFC repo as a markdown file. At that point the RFC
@@ -99,7 +99,7 @@ after becoming active is 'inactive' and moves to the 'inactive' folder.
99
99
100
100
[Active RFC List]: ../README.md#active-rfc-list
101
101
102
-
# Alternatives
102
+
##Alternatives
103
103
104
104
Retain the current informal RFC process. The newly proposed RFC process is
105
105
designed to improve over the informal process in the following ways:
@@ -111,7 +111,7 @@ understand why new features are being merged
111
111
112
112
As an alternative, we could adopt an even stricter RFC process than the one proposed here. If desired, we should likely look to Python's [PEP] process for inspiration.
113
113
114
-
# Unresolved questions
114
+
##Unresolved questions
115
115
116
116
1. Does this RFC strike a favorable balance between formality and agility?
117
117
2. Does this RFC successfully address the aforementioned issues with the current
0 commit comments