You need to sign in or sign up before continuing.
Preserve difference between -> and .
ptr.foo
in Rust works only for references. If the var is not changed to a reference, then it should be (*ptr).foo
.
ptr.foo
in Rust works only for references. If the var is not changed to a reference, then it should be (*ptr).foo
.