We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b134a1f commit 0f130c5Copy full SHA for 0f130c5
src/capture.rs
@@ -498,7 +498,7 @@ impl fmt::Debug for Backtrace {
498
let mut print_path =
499
move |fmt: &mut fmt::Formatter<'_>, path: crate::BytesOrWideString<'_>| {
500
let path = path.into_path_buf();
501
- if style == PrintFmt::Full {
+ if style != PrintFmt::Full {
502
if let Ok(cwd) = &cwd {
503
if let Ok(suffix) = path.strip_prefix(cwd) {
504
return fmt::Display::fmt(&suffix.display(), fmt);
0 commit comments