MCPcopy Index your code
hub / github.com/RustPython/RustPython / fmt

Method fmt

crates/common/src/lock/thread_mutex.rs:190–192  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

188
189impl fmt::Debug for LockedPlaceholder {
190 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
191 f.write_str(self.0)
192 }
193}
194
195impl<R: RawMutex, G: GetThreadId, T: ?Sized + fmt::Debug> fmt::Debug for ThreadMutex<R, G, T> {

Callers

nothing calls this directly

Calls 4

LockedPlaceholderClass · 0.85
write_strMethod · 0.45
try_lockMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected