We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1057dc9 commit 1d004bdCopy full SHA for 1d004bd
src/libstd/error.rs
@@ -88,7 +88,7 @@ pub trait Error: Debug + Display {
88
/// fn main() {
89
/// match get_super_error() {
90
/// Err(e) => {
91
- /// println!("Error: {}", e.description());
+ /// println!("Error: {}", e);
92
/// println!("Caused by: {}", e.source().unwrap());
93
/// }
94
/// _ => println!("No error"),
0 commit comments