3 ms·
The asterisk was formatted out. Read the book, they are types.
by leshow 8y ago
The asterisk was formatted out. Read the book, they are types.
- EugeneOZ 8y agoSo you can write "let x:const = 5"? if "const" is a type.
- leshow 8y agoYou were just told the formatting removed the asterisk. const isn't a type, but a const pointer is, so is a mut pointer. It says so in the book AND it's in the position of a type in the code. What other information do you need to convince you that you're wrong?