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

Method leak

crates/common/src/crt_fd.rs:198–200  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

196 }
197
198 pub fn leak<'fd>(self) -> Borrowed<'fd> {
199 unsafe { Borrowed::borrow_raw(self.into_raw()) }
200 }
201}
202
203#[cfg(unix)]

Callers

nothing calls this directly

Calls 1

into_rawMethod · 0.45

Tested by

no test coverage detected