my ziglings
0

Configure Feed

Select the types of activity you want to include in your feed.

Replace "−" with "-" in Assigment 3 tutorial text

When viewing this file in VSCode, I saw the following warning highlighting lines `15` and `29`

```
The character U+2212 "−" could be confused with the character U+002d "-", which is more common in source code.
```

It seems to me this is just a small oversight, as "-" is used elsewhere in the commented block to denote a negative value, but I'll freely admit ignorance as to any nuance here in using one vs. the other.

authored by

jtgoen and committed by
GitHub
(Jun 4, 2022, 5:21 PM -0600) a1d08fb5 6955f2c0

+2 -2
+2 -2
exercises/003_assignment.zig
··· 12 12 // var bar: u8 = 20; 13 13 // 14 14 // Example: foo cannot be negative and can hold 0 to 255 15 - // bar CAN be negative and can hold −128 to 127 15 + // bar CAN be negative and can hold -128 to 127 16 16 // 17 17 // const foo: u8 = 20; 18 18 // const bar: i8 = -20; ··· 26 26 // You can do just about any combination of these that you can think of: 27 27 // 28 28 // u32 can hold 0 to 4,294,967,295 29 - // i64 can hold −9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 29 + // i64 can hold -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 30 30 // 31 31 // Please fix this program so that the types can hold the desired values 32 32 // and the errors go away!