Skip to content

Conversation

@raphigaziano
Copy link

The two string helpers (to_string and format_uuid) were not marked "pub", and therefore couldn't be called on an UUID created outside the module.

Since these method aren't called anywhere inside the struct, and looking at the test, I assume this is not the intended behavior.

I'm fairly new to zig, so maybe this broke in a recent release (I'm using 0.11.0) ?

Also, the associated tests were failing, which seemed to be caused by writing to stdout. Using std.log instead of std.debug.print seems to fix the issue.

Also, fix the associated tests. Apparently printing to stdout caused
them to fail ?
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.

1 participant