grammatical fixes

fixed orphaned parenthesis and removed unneeded comma
This commit is contained in:
David Keck 2021-03-17 22:22:04 -05:00 committed by GitHub
parent be8429f1e6
commit e3ad9aaa7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,9 @@ pub fn main() void {
// long as you keep track of the length yourself! // long as you keep track of the length yourself!
// //
// A "string" in Zig is a pointer to an array of const u8 values // A "string" in Zig is a pointer to an array of const u8 values
// or a slice of const u8 values, into one, as we saw above). So, // (or a slice of const u8 values, as we saw above). So, we could
// we could treat a "many-item pointer" of const u8 a string as long // treat a "many-item pointer" of const u8 a string as long as we
// as we can CONVERT IT TO A SLICE. (Hint: we do know the length!) // can CONVERT IT TO A SLICE. (Hint: we do know the length!)
// //
// Please fix this line so the print below statement can print it: // Please fix this line so the print below statement can print it:
const zen12_string: []const u8 = zen_manyptr; const zen12_string: []const u8 = zen_manyptr;