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

Function get_x_coord

tests/binary/mutable_borrow/src/main.rs:16–18  ·  view source on GitHub ↗

Function taking a shared borrow of a Point and reading

(p: &Point)

Source from the content-addressed store, hash-verified

14fn make_y_negative(p_y: &mut i32) {
15 if *p_y > 0 {
16 *p_y = -(*p_y);
17 }
18 assert!(*p_y <= 0);
19}
20
21// Function taking a shared borrow of a Point and reading

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected