From e912d6db1a434da5c36ae532e038c731e06f9af1 Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 13 Dec 2021 21:14:37 +0000 Subject: [PATCH] Fix rustdoc warnings --- src/cli.rs | 1 + src/cli/layout/line.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cli.rs b/src/cli.rs index 981a9f2..6d89b33 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -37,6 +37,7 @@ pub struct Opt { #[derive(Debug, StructOpt)] pub enum Command { + #[allow(rustdoc::broken_intra_doc_links)] /// Shows entries in a range, or a single entry if one is specified /// [default] Show, diff --git a/src/cli/layout/line.rs b/src/cli/layout/line.rs index 62442df..4fb4bde 100644 --- a/src/cli/layout/line.rs +++ b/src/cli/layout/line.rs @@ -104,7 +104,7 @@ impl LineLayout { /// Return a map from entry indices to their corresponding display numbers. /// /// If you need to resolve a display number into an entry index, use - /// [`look_up_number`] instead. + /// [`Self::look_up_number`] instead. pub fn numbers(&self) -> &HashMap { &self.numbers }