Просмотр исходного кода

Verbs agree with the head of the noun phrase, not the closest noun

the result...are passed→the result...is passed
the number...vary→the number...varies
hippietrail 1 год назад
Родитель
Сommit
6223dc0f83
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      exercises/099_formatting.zig

+ 2 - 2
exercises/099_formatting.zig

@@ -45,7 +45,7 @@
 // output. Escape sequences can also be written one after the
 // other, e.g. "\n\n" will cause two line feeds.
 //
-// By the way, the result of these escape sequences are passed
+// By the way, the result of these escape sequences is passed
 // directly to the terminal program. Other than translating them
 // into control codes, escape sequences have nothing to do with
 // Zig. Zig knows nothing about "line feeds" or "tabs" or
@@ -95,7 +95,7 @@
 //      ...
 //
 // Without string formatting, this would be a more challenging
-// assignment because the number of digits in the numbers vary
+// assignment because the number of digits in the numbers varies
 // from 1 to 3. But formatting can help us with that.
 //
 const std = @import("std");