From e5746684e84377dd8828f6a5a8ab4c0eec73c3ec Mon Sep 17 00:00:00 2001 From: Nora Widdecke Date: Mon, 23 Aug 2021 16:55:26 +0200 Subject: Convert markdown to intra-doc links. - Apply cargo intraconv. --- openpgp/src/types/mod.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'openpgp/src/types/mod.rs') diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index e9d39801..31d3e286 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -40,10 +40,7 @@ //! that adding or subtracting durations will never overflow or underflow without //! notice. //! -//! [`Timestamp::round_down`]: struct.Timestamp.html#method.round_down -//! [`KeyFlags`]: struct.KeyFlags.html -//! [`Timestamp`]: struct.Timestamp.html -//! [`Duration`]: struct.Duration.html +//! [`Timestamp::round_down`]: Timestamp::round_down() use std::fmt; use std::str::FromStr; @@ -534,7 +531,7 @@ impl Arbitrary for Curve { /// Use [`SymmetricAlgorithm::from`] to translate a numeric value to a /// symbolic one. /// -/// [`SymmetricAlgorithm::from`]: https://doc.rust-lang.org/std/convert/trait.From.html +/// [`SymmetricAlgorithm::from`]: std::convert::From /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. @@ -689,12 +686,12 @@ impl Arbitrary for SymmetricAlgorithm { /// Use [`AEADAlgorithm::from`] to translate a numeric value to a /// symbolic one. /// -/// [`AEADAlgorithm::from`]: https://doc.rust-lang.org/std/convert/trait.From.html +/// [`AEADAlgorithm::from`]: std::convert::From /// /// Note: This enum cannot be exhaustively matched to allow future /// extensions. /// -/// This feature is [experimental](../index.html#experimental-features). +/// This feature is [experimental](super#experimental-features). /// /// # Examples /// @@ -1551,7 +1548,6 @@ impl ReasonForRevocation { /// /// Construct a new [`Message`] containing one text literal packet: /// -/// [`Message`]: struct.Message.html /// /// ```rust /// use sequoia_openpgp as openpgp; @@ -1676,7 +1672,7 @@ impl Arbitrary for DataFormat { /// Generates a new certificate then checks if the User ID is revoked or not under /// the given policy using [`ValidUserIDAmalgamation`]: /// -/// [`ValidUserIDAmalgamation`]: ../cert/amalgamation/type.ValidUserIDAmalgamation.html +/// [`ValidUserIDAmalgamation`]: super::cert::amalgamation::ValidUserIDAmalgamation /// /// ```rust /// use sequoia_openpgp as openpgp; -- cgit v1.2.3