Skip to content
Myr

Capitalize lines of Debug representation

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent feb9f33 · Browse files · 3 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+4 added−4 removed

  • other:+4 added−4 removed

3 files+4 added−4 removed

modified:src/error.rs+2 added-2 removed
316 unmodified lines
317 writeln!(f, "{}", self.inner.error())?;318319 let mut chain = self.chain().skip(1).enumerate();320 if let Some((n, error)) = chain.next() {321 writeln!(f, "\ncaused by:")?;321 writeln!(f, "\nCaused by:")?;322 writeln!(f, "\t{}: {}", n, error)?;323 for (n, error) in chain {324 writeln!(f, "\t{}: {}", n, error)?;325 }
8 unmodified lines
334 }335 BacktraceStatus::Disabled => {336 writeln!(337 f,338 "\nbacktrace disabled; run with RUST_LIB_BACKTRACE=1 environment variable to display a backtrace"338 "\nBacktrace disabled; run with RUST_LIB_BACKTRACE=1 environment variable to display a backtrace"339 )?;340 }341 _ => {}342 }
166 unmodified lines
modified:src/lib.rs+1 added-1 removed
78 unmodified lines
79//!80//! ```console81//! Error: failed to read instrs from ./path/to/instrs.jsox82//!83//! caused by:83//! Caused by:84//! 0: No such file or directory (os error 2)85//! ```86//!87//! - Downcasting is supported and can be by value, by shared reference, or by
260 unmodified lines
modified:README.md+1 added-1 removed