Copying memory - Introduction
/// Reads bytes from `source` and writes them to `dest`
pub fn copy(dest: &mut [u8], source: &[u8]) { ... }
This slide and its sub-slides should take about 28 minutes.
“Here is our initial function prototype.”
“copy accepts two slices as arguments. dest (destination) is mutable,
whereas source is not.”
“Let’s see the shapes of sound Rust code.”