MCPcopy Create free account
hub / github.com/IntegralPilot/rustc_codegen_jvm / identity

Function identity

tests/binary/fn_pointers/src/main.rs:44–46  ·  view source on GitHub ↗
(x: T)

Source from the content-addressed store, hash-verified

42}
43
44fn identity<T>(x: T) -> T {
45 x
46}
47
48fn run_processor<T: Copy>(proc: Processor<T>, input: T, use_fallback: bool) -> T {
49 if use_fallback {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected