Skip to content

Commit 37ec940

Browse files
authored
Delegate, don't duplicate (#369)
Duplication introduced in 4b8f2be.
1 parent 70ad093 commit 37ec940

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/print.rs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,7 @@ impl BacktraceFrameFmt<'_, '_, '_> {
170170
filename: Option<BytesOrWideString<'_>>,
171171
lineno: Option<u32>,
172172
) -> fmt::Result {
173-
// Fuchsia is unable to symbolize within a process so it has a special
174-
// format which can be used to symbolize later. Print that instead of
175-
// printing addresses in our own format here.
176-
if cfg!(target_os = "fuchsia") {
177-
self.print_raw_fuchsia(frame_ip)?;
178-
} else {
179-
self.print_raw_generic(frame_ip, symbol_name, filename, lineno, None)?;
180-
}
181-
self.symbol_index += 1;
182-
Ok(())
173+
self.print_raw_with_column(frame_ip, symbol_name, filename, lineno, None)
183174
}
184175

185176
/// Adds a raw frame to the backtrace output, including column information.

0 commit comments

Comments
 (0)