Grammar fixes (#18320)

* Grammar fixes

Just a couple things I noticed

* Update build.zig.zon.md

Fix a/an usage for zon doc
This commit is contained in:
Maximilian 2023-12-20 05:17:15 -06:00 committed by GitHub
parent f36ac227b1
commit 697b8f7d2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ This is computed from the file contents of the directory of files that is
obtained after fetching `url` and applying the inclusion rules given by obtained after fetching `url` and applying the inclusion rules given by
`paths`. `paths`.
This field is the source of truth; packages do not come from an `url`; they This field is the source of truth; packages do not come from a `url`; they
come from a `hash`. `url` is just one of many possible mirrors for how to come from a `hash`. `url` is just one of many possible mirrors for how to
obtain a package matching this `hash`. obtain a package matching this `hash`.

View File

@ -13,7 +13,7 @@
// Each dependency must either provide a `url` and `hash`, or a `path`. // Each dependency must either provide a `url` and `hash`, or a `path`.
// `zig build --fetch` can be used to fetch all dependencies of a package, recursively. // `zig build --fetch` can be used to fetch all dependencies of a package, recursively.
// Once all dependencies are fetched, `zig build` no longer requires // Once all dependencies are fetched, `zig build` no longer requires
// Internet connectivity. // internet connectivity.
.dependencies = .{ .dependencies = .{
// See `zig fetch --save <url>` for a command-line interface for adding dependencies. // See `zig fetch --save <url>` for a command-line interface for adding dependencies.
//.example = .{ //.example = .{
@ -26,7 +26,7 @@
// // obtained after fetching `url` and applying the inclusion rules given by // // obtained after fetching `url` and applying the inclusion rules given by
// // `paths`. // // `paths`.
// // // //
// // This field is the source of truth; packages do not come from an `url`; they // // This field is the source of truth; packages do not come from a `url`; they
// // come from a `hash`. `url` is just one of many possible mirrors for how to // // come from a `hash`. `url` is just one of many possible mirrors for how to
// // obtain a package matching this `hash`. // // obtain a package matching this `hash`.
// // // //