Skip to content

Comments

Correctly handle sentinel slices#573

Merged
SuperAuguste merged 1 commit intozigtools:masterfrom
Techatrix:patch-1
Aug 5, 2022
Merged

Correctly handle sentinel slices#573
SuperAuguste merged 1 commit intozigtools:masterfrom
Techatrix:patch-1

Conversation

@Techatrix
Copy link
Member

fix #482

const CString = [:0]const u8; // now recognizes `CString` as a type
const String = []const u8;

@SuperAuguste
Copy link
Member

Simple but effective, tysm.

@SuperAuguste SuperAuguste merged commit e554c57 into zigtools:master Aug 5, 2022
@Techatrix Techatrix deleted the patch-1 branch August 5, 2022 19:49
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.

sentinel'd slices not recognized as type

2 participants