Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Remove unnecessary to_string within println #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@
//! assert_eq!(e.to_string(), "invalid toolchain name: 'xyzzy'");
//!
//! // Get the full cause and backtrace:
//! println!("{}", e.display_chain().to_string());
//! println!("{}", e.display_chain());
//! // Error: invalid toolchain name: 'xyzzy'
//! // Caused by: invalid digit found in string
//! // stack backtrace:
Expand Down