Skip to content

Commit d340931

Browse files
committed
Note possibility of later deprecation
1 parent 98a5691 commit d340931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0000-bury-description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Users of the `Error` trait can then pretend this method does not exist.
3333
# Drawbacks
3434
[drawbacks]: #drawbacks
3535

36-
When users start omitting bespoke `description()` implementations, code that still uses this method will get machine-generated rather than human-written descriptions, so success of this change depends also on steering authors away from using this method as well.
36+
When users start omitting bespoke `description()` implementations, code that still uses this method will get machine-generated rather than human-written descriptions. If this becomes a problem, the `description()` method can also be formally deprecated (with the `#[deprecated]` attribute). However, this RFC does not propose formal deprecation at this time to avoid unnecessary warnings during the transition.
3737

3838
# Rationale and alternatives
3939
[alternatives]: #alternatives

0 commit comments

Comments
 (0)