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
In reviewing and revising the work to move all attributes to the new
template, some patterns have emerged in editing. Let's capture these
in the template.
> `rustc` currently warns in other positions, but this may be rejected in the future.
65
-
66
-
> [!NOTE]
67
-
> `rustc` currently warns on some positions where it is ignored, but this may become an error in the future.
116
+
> `rustc` ignoresusein other positions but lints against it.This may become an error in the future.
68
117
69
118
----
70
119
@@ -73,29 +122,40 @@ Explain the behavior if the attribute is specified multiple times on an element.
73
122
74
123
----
75
124
76
-
Duplicate instances of the `example` attribute on the same ... have no effect.
125
+
The`example` attribute may be used any number of times on a form.
77
126
78
127
----
79
128
80
-
The`example`attribute may only be specified once on a [THING].
129
+
Using `example` more than once on a form has the same effect as using it once.
81
130
82
131
----
83
132
84
-
Only the first instance of `example` on an item is honored. Subsequent `example` attributes are ignored.
133
+
The `example` attribute may be used only once on ...
134
+
135
+
----
136
+
137
+
Only the first use of `example` on an item has effect.
138
+
139
+
> [!NOTE]
140
+
> `rustc` lints against any use following the first.This may become an error in the future.
85
141
86
142
> [!NOTE]
87
-
> `rustc`currently warns on subsequent duplicate `example` attributes. This may become an error in the future.
143
+
> `rustc` lints against any use following the first with a future-compatibility warning.This may become an error in the future.
88
144
89
145
----
90
146
91
-
Only the last instance of `example` on an item is honored. Previous `example` attributes are ignored.
147
+
Only the last use of `example` on an item has effect.
92
148
93
149
> [!NOTE]
94
-
> `rustc`currently warns on preceding duplicate `example` attributes. This may become an error in the future.
150
+
> `rustc` lints against any usepreceding the last.This may become an error in the future.
95
151
96
-
---
152
+
----
153
+
154
+
Only the last use of `example` on an item is used to ...
155
+
156
+
----
97
157
98
-
If the `example` attribute is specified multiple times on an item, then the combination of all the specified values is used as ...explain how they are merged.
158
+
If the `example` attribute is used more than once on an item, then the combination of all the specified values is used as...explain how they are merged.
0 commit comments