Fix link-syntax in docs
This commit is contained in:
parent
92b7043373
commit
633d25489e
3 changed files with 4 additions and 4 deletions
|
@ -311,7 +311,7 @@ impl Display for UIF {
|
||||||
|
|
||||||
/// User interaction setting.
|
/// 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]
|
#[non_exhaustive]
|
||||||
pub enum TouchPolicy {
|
pub enum TouchPolicy {
|
||||||
Off,
|
Off,
|
||||||
|
@ -759,7 +759,7 @@ impl Display for CardholderRelatedData {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 4.4.3.5 Sex
|
/// 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)]
|
#[derive(Debug, PartialEq, Clone, Copy)]
|
||||||
pub enum Sex {
|
pub enum Sex {
|
||||||
NotKnown,
|
NotKnown,
|
||||||
|
|
|
@ -55,7 +55,7 @@ impl ApplicationIdentifier {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Mapping of manufacturer id to a name, data from:
|
/// 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 {
|
pub fn manufacturer_name(&self) -> &'static str {
|
||||||
match self.manufacturer {
|
match self.manufacturer {
|
||||||
0x0000 => "Testcard",
|
0x0000 => "Testcard",
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
//!
|
//!
|
||||||
//! (The `ShortTag` type models tags that are exactly 1 or 2 octets long)
|
//! (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};
|
use nom::{branch, bytes::complete as bytes, combinator, number::complete as number, sequence};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue