mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
Merge pull request #103 from jtgoen/patch-1
Replace "−" with "-" in Assigment 3 tutorial text
This commit is contained in:
commit
222a111ef7
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
// var bar: u8 = 20;
|
||||
//
|
||||
// Example: foo cannot be negative and can hold 0 to 255
|
||||
// bar CAN be negative and can hold −128 to 127
|
||||
// bar CAN be negative and can hold -128 to 127
|
||||
//
|
||||
// const foo: u8 = 20;
|
||||
// const bar: i8 = -20;
|
||||
|
@ -26,7 +26,7 @@
|
|||
// You can do just about any combination of these that you can think of:
|
||||
//
|
||||
// u32 can hold 0 to 4,294,967,295
|
||||
// i64 can hold −9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
|
||||
// i64 can hold -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
|
||||
//
|
||||
// Please fix this program so that the types can hold the desired values
|
||||
// and the errors go away!
|
||||
|
|
Loading…
Reference in a new issue