We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03f46ad commit 2fc4668Copy full SHA for 2fc4668
src/libstd/error.rs
@@ -36,9 +36,9 @@ use str;
36
use string;
37
38
/// `Error` is a trait representing the basic expectations for error values,
39
-/// i.e. values of type `E` in [`Result<T, E>`]. At a minimum, errors must provide
40
-/// a description, but they may optionally provide additional detail (via
41
-/// [`Display`]) and cause chain information:
+/// i.e. values of type `E` in [`Result<T, E>`]. Errors must describe
+/// themselves through the [`Display`] and [`Debug`] traits, and may provide
+/// cause chain information:
42
///
43
/// The [`cause`] method is generally used when errors cross "abstraction
44
/// boundaries", i.e. when a one module must report an error that is "caused"
0 commit comments