-
Notifications
You must be signed in to change notification settings - Fork 72
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
docs: Improve docs for Point
and Vec2
#363
docs: Improve docs for Point
and Vec2
#363
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to improve docs here.
I think that almost all of the links to items which are on the same page are quite noisy and don't provide much value, so would prefer them to be removed.
But I'm not going to block on that if you think it's better.
src/point.rs
Outdated
/// * [`Point::ceil`] | ||
/// * [`Point::expand`] | ||
/// * [`Point::floor`] | ||
/// * [`Point::trunc`] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure these are that helpful; std
doesn't have the equivalent links.
be9f1a2
to
502830d
Compare
Updated, I think I've addressed the feedback. I disagree about some of it, but I'll go with the flow for now! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! This looks really good!
This adds some cross-linking as well as a couple of additional doc tests.
502830d
to
a6b09fa
Compare
This adds some cross-linking as well as a couple of additional doc tests.