mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 19:20:47 -05:00
Merge pull request #51 from noc7c9/patch-1
Fix typo in 061_coercions.zig
This commit is contained in:
commit
87a7076140
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
// 2. Numeric types can coerce to _larger_ types.
|
||||
//
|
||||
// var n1: u8 = 5;
|
||||
// var n2: u16 = n8; // integer "widening"
|
||||
// var n2: u16 = n1; // integer "widening"
|
||||
//
|
||||
// var n3: f16 = 42.0;
|
||||
// var n4: f32 = n3; // float "widening"
|
||||
|
|
Loading…
Reference in a new issue