8000 Fix Utf8View example: semicolon and return value by KorryKatti · Pull Request #93 · pedropark99/zig-book · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix Utf8View example: semicolon and return value #93

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
Nov 17, 2024
Merged

Fix Utf8View example: semicolon and return value #93

merged 1 commit into from
Nov 17, 2024

Conversation

KorryKatti
Copy link
Contributor

This PR fixes the example code for Utf8View iteration. It adds a missing semicolon and assigns the iterator's return value to a variable to avoid an ignored value error during compilation.

@pedropark99
Copy link
Owner

Thank you very much!

@pedropark99
Copy link
Owner

The fixed code example compiles and run successfully

image

@pedropark99 pedropark99 merged commit d74e494 into pedropark99:main Nov 17, 2024
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
0