Bits, Bytes, and Memory
We'll cover the following...
The very first program we wrote, “Hello World!”, included strings. So, it’s a bit weird that we’re claiming to cover strings again. However, we’ve only covered the very basics of strings, as string literals, so far. Now that we know about ownership and references, it’s time to go into more depth.
The type of a number literal is i32
. The type of a Boolean literal is ...