Fix link-syntax in docs

This commit is contained in:
Heiko Schaefer 2022-05-06 11:46:36 +02:00
parent 92b7043373
commit 633d25489e
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
3 changed files with 4 additions and 4 deletions

View file

@ -311,7 +311,7 @@ impl Display for UIF {
/// User interaction setting.
///
/// See spec pg 24 and https://github.com/Yubico/yubikey-manager/blob/main/ykman/openpgp.py
/// See spec pg 24 and <https://github.com/Yubico/yubikey-manager/blob/main/ykman/openpgp.py>
#[non_exhaustive]
pub enum TouchPolicy {
Off,
@ -759,7 +759,7 @@ impl Display for CardholderRelatedData {
}
/// 4.4.3.5 Sex
/// Encoded in accordance with https://en.wikipedia.org/wiki/ISO/IEC_5218
/// Encoded in accordance with <https://en.wikipedia.org/wiki/ISO/IEC_5218>
#[derive(Debug, PartialEq, Clone, Copy)]
pub enum Sex {
NotKnown,

View file

@ -55,7 +55,7 @@ impl ApplicationIdentifier {
}
/// Mapping of manufacturer id to a name, data from:
/// https://en.wikipedia.org/wiki/OpenPGP_card [2022-04-07]
/// <https://en.wikipedia.org/wiki/OpenPGP_card> [2022-04-07]
pub fn manufacturer_name(&self) -> &'static str {
match self.manufacturer {
0x0000 => "Testcard",

View file

@ -8,7 +8,7 @@
//!
//! (The `ShortTag` type models tags that are exactly 1 or 2 octets long)
//!
//! https://en.wikipedia.org/wiki/X.690#Encoding
//! <https://en.wikipedia.org/wiki/X.690#Encoding>
use nom::{branch, bytes::complete as bytes, combinator, number::complete as number, sequence};