rust_borrow.rs (Source)

1
2
3
fn foo(t: &mut f32) {
    *t += 3.14;
}