Skip to content
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

Impl FromStr for BlockPos & Vec #174

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

ShayBox
Copy link
Contributor

@ShayBox ShayBox commented Oct 21, 2024

This can parse X Y Z back into a BlockPos or Vec3 from the existing Display trait.

(cherry picked from commit 288db1c)
Copy link
Collaborator

@mat-1 mat-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, though, could you write doc comments for the from_str implementations please (just a short sentence for each is fine)

Copy link
Collaborator

@mat-1 mat-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

@mat-1 mat-1 merged commit 5535877 into azalea-rs:main Oct 21, 2024
1 check passed
@ShayBox ShayBox deleted the FromStr-for-BlockPos&Vec3 branch October 21, 2024 22:39
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