Skip to content

Document sentinel type in langref #3861

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

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

marler8997
Copy link
Contributor

No description provided.

@marler8997 marler8997 marked this pull request as ready for review December 12, 2019 09:57
@andrewrk andrewrk merged commit 4cb4148 into ziglang:master Dec 13, 2019
@marler8997 marler8997 deleted the sentinelLangref branch December 13, 2019 17:13
@andrewrk
Copy link
Member

docs removed in b3cbf29

this content should go here:

zig/lib/std/builtin.zig

Lines 148 to 151 in 170de5e

/// The type of the sentinel is the element type of the pointer, which is
/// the value of the `child` field in this struct. However there is no way
/// to refer to that type here, so we use `var`.
sentinel: var,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants