New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed minor documentation errors #1256

Merged
merged 1 commit into from Jul 18, 2018

Conversation

Projects
None yet
2 participants
@jayschwa
Contributor

jayschwa commented Jul 18, 2018

Changed:

  • "retuns" to "returns"
  • "null-terminated pointers" to "pointers to null-terminated arrays"
@@ -1483,7 +1483,7 @@ test "pointer array access" {
}
test "pointer slicing" {
// In Zig, we prefer using slices over null-terminated pointers.
// In Zig, we prefer using slices over null-terminated arrays.

This comment has been minimized.

@andrewrk

andrewrk Jul 18, 2018

Member

how about "slices instead of pointers to null-terminated arrays"

This comment has been minimized.

@jayschwa

jayschwa Jul 18, 2018

Contributor

Implemented. I also removed "using" for brevity.

Fixed minor documentation errors
Changed:
- "retuns" to "returns"
- "null-terminated pointers" to "pointers to null-terminated arrays"

@jayschwa jayschwa force-pushed the jayschwa:fix-docs branch from b958971 to 998ae46 Jul 18, 2018

@andrewrk andrewrk merged commit 6394f7e into ziglang:master Jul 18, 2018

0 of 2 checks passed

continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details

@jayschwa jayschwa deleted the jayschwa:fix-docs branch Aug 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment