Skip to content

Conversation

@Scarjit
Copy link

@Scarjit Scarjit commented Feb 14, 2022

This pr fixes some dead internal links in the base64ct, pem_rfc7468 & pkcs1 crate.

x509 has deadlinks too but fixing them seems to be irrelevant, until #414 is merged.

///
/// The `E` type parameter can be any type which impls [`Encoding`] such as
/// [`Base64`] or [`Base64Unpadded`].
/// [Base64][`crate::variant::standard::Base64`] or [Base64Unpadded][`crate::variant::standard::Base64Unpadded`].
Copy link
Member

Choose a reason for hiding this comment

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

Check line 17 of this file. There are imports of these, although they should probably be gated on #[cfg(doc)] instead of #[cfg(docsrs)].

///
/// The `E` type parameter can be any type which impls [`Encoding`] such as
/// [`Base64`] or [`Base64Unpadded`].
/// [Base64][`crate::variant::standard::Base64`] or [Base64Unpadded][`crate::variant::standard::Base64Unpadded`].
Copy link
Member

Choose a reason for hiding this comment

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

Likewise here. Line 10.

@tarcieri
Copy link
Member

Just in general I would prefer importing the types for generating the docs instead of using both the type names and the excessively long fully qualified paths. They make the docs much harder to read if you're just looking at the source code.

@tarcieri
Copy link
Member

Also it'd be good to add CI for this. Some of these were "working" but not with the same rustdoc configuration.

@tarcieri
Copy link
Member

tarcieri commented Apr 5, 2022

Note that we now CI for rustdoc building warning free (#530), so this PR seems obsolete

@tarcieri tarcieri closed this Apr 5, 2022
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