Sign in

Module 5

References

Start module

PHP has a concept known as "references", but it doesn't behave in quite the same way as Rust's. In this module, we'll talk about the differences between "pass by-value" and "pass by-reference" and how we can take advantage of references in Rust.

  1. 1

    Pass by-value vs Pass by-reference

  2. 2

    Immutable and mutable references