Remove quotes around unknown fn placeholder in backtrace
This commit is contained in:
parent
3dbade652e
commit
3ba89e8750
@ -193,7 +193,7 @@ impl fmt::Debug for BacktraceSymbol {
|
|||||||
if let Some(fn_name) = self.name.as_ref().map(|b| backtrace::SymbolName::new(b)) {
|
if let Some(fn_name) = self.name.as_ref().map(|b| backtrace::SymbolName::new(b)) {
|
||||||
write!(fmt, "fn: \"{:#}\"", fn_name)?;
|
write!(fmt, "fn: \"{:#}\"", fn_name)?;
|
||||||
} else {
|
} else {
|
||||||
write!(fmt, "fn: \"<unknown>\"")?;
|
write!(fmt, "fn: <unknown>")?;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(fname) = self.filename.as_ref() {
|
if let Some(fname) = self.filename.as_ref() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user