-
Notifications
You must be signed in to change notification settings - Fork 569
Fix link in documentation of widget::Image #1730
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -69,7 +69,7 @@ use tracing::{instrument, trace}; | |||||||||||||
| /// | ||||||||||||||
| /// [scaling a bitmap image]: ../struct.Scale.html#pixels-and-display-points | ||||||||||||||
| /// [SVG files]: https://en.wikipedia.org/wiki/Scalable_Vector_Graphics | ||||||||||||||
| /// [`ImageBuf`]: ../druid_shell/struct.ImageBuf.html | ||||||||||||||
| /// [`ImageBuf`]: ../piet/struct.ImageBuf.html | ||||||||||||||
| /// [`FillStrat`]: ../widget/enum.FillStrat.html | ||||||||||||||
| /// [`InterpolationMode`]: ../piet/enum.InterpolationMode.html | ||||||||||||||
|
||||||||||||||
| /// [`ImageBuf`]: ../piet/struct.ImageBuf.html | |
| /// [`FillStrat`]: ../widget/enum.FillStrat.html | |
| /// [`InterpolationMode`]: ../piet/enum.InterpolationMode.html | |
| /// [`ImageBuf`]: piet::ImageBuf | |
| /// [`FillStrat`]: crate::widget::FillStrat | |
| /// [`InterpolationMode`]: piet::InterpolationMode |
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.
we can do even better: if these types are in scope, we don't need to include explicit links to them at all, rustdoc will automatically resolve links with the format [`Type`] if Type is in scope.
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've updated with those three lines completely removed. All three links do work in the built documentation.
Uh oh!
There was an error while loading. Please reload this page.