MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / fmt

Method fmt

crates/runner-shared/src/debug_info.rs:13–21  ·  view source on GitHub ↗
(&self, f: &mut std::fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

11
12impl std::fmt::Debug for DebugInfo {
13 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
14 let location = format!("{}:{}", self.file, self.line.unwrap_or(0));
15 let name = &self.name;
16 write!(
17 f,
18 "DebugInfo {{ addr: {:x}, size: {:x}, name: {}, location: {} }}",
19 self.addr, self.size, name, location
20 )
21 }
22}
23
24/// Per-pid mounting info referencing a deduplicated debug info entry.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected