mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-07 08:14:47 +00:00
Ex 22 spelling error
I never make mistakes with apostrophes'es', so I dont' know what happened here.
This commit is contained in:
parent
82a1abe09b
commit
e382b01976
@ -7,7 +7,7 @@
|
|||||||
// What happens if getText() can't find 'foo.txt'? How do we express
|
// What happens if getText() can't find 'foo.txt'? How do we express
|
||||||
// this in Zig?
|
// this in Zig?
|
||||||
//
|
//
|
||||||
// Zig let's us make what's called an "error union" which is a value
|
// Zig lets us make what's called an "error union" which is a value
|
||||||
// which could either be a regular value OR an error from a set:
|
// which could either be a regular value OR an error from a set:
|
||||||
//
|
//
|
||||||
// var text: MyErrorSet!Text = getText('foo.txt');
|
// var text: MyErrorSet!Text = getText('foo.txt');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user