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 }