mirror of
https://codeberg.org/ziglings/exercises.git
synced 2024-12-27 01:46:29 +00:00
Merge pull request 'Fix two minor typos' (#29) from A-h-m-e-d/exercises:typos into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/29 Thanks!
This commit is contained in:
commit
5eafe16e97
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# This script checks that `zig build` will return an useful error message when
|
# This script checks that `zig build` will return a useful error message when
|
||||||
# the Zig compiler is not compatible, instead of failing due to a syntax error.
|
# the Zig compiler is not compatible, instead of failing due to a syntax error.
|
||||||
#
|
#
|
||||||
# This script should be run on an UNIX system.
|
# This script should be run on an UNIX system.
|
||||||
|
|
|
@ -58,7 +58,7 @@ pub fn main() void {
|
||||||
// There is a difference between
|
// There is a difference between
|
||||||
// - a value, that overflowed at some point and is now corrupted
|
// - a value, that overflowed at some point and is now corrupted
|
||||||
// - a single operation that overflows and maybe causes subsequent errors
|
// - a single operation that overflows and maybe causes subsequent errors
|
||||||
// In practise we usually notice the overflowed value first and have to work
|
// In practice we usually notice the overflowed value first and have to work
|
||||||
// our way backwards to the operation that caused the overflow.
|
// our way backwards to the operation that caused the overflow.
|
||||||
//
|
//
|
||||||
// If there was no overflow at all while adding 5 to a, what value would
|
// If there was no overflow at all while adding 5 to a, what value would
|
||||||
|
|
Loading…
Reference in a new issue