We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86cbdfc commit c44f833Copy full SHA for c44f833
src/interoperability.md
@@ -269,9 +269,8 @@ impl Error for DoError { /* ... */ }
269
The error message given by the `Display` representation of an error type should
270
be lowercase without trailing punctuation, and typically concise.
271
272
-The message given by [`Error::description()`] does not matter. Users should
273
-always use `Display` instead of `description()` to print the error. A low-effort
274
-description like `"JSON error"` is sufficient.
+[`Error::description()`] should not be implemented. It has been deprecated and users should
+always use `Display` instead of `description()` to print the error.
275
276
[`Error::description()`]: https://doc.rust-lang.org/std/error/trait.Error.html#tymethod.description
277
0 commit comments