Fix rustdoc warnings
This commit is contained in:
parent
25cb3dfe74
commit
e912d6db1a
2 changed files with 2 additions and 1 deletions
|
|
@ -37,6 +37,7 @@ pub struct Opt {
|
||||||
|
|
||||||
#[derive(Debug, StructOpt)]
|
#[derive(Debug, StructOpt)]
|
||||||
pub enum Command {
|
pub enum Command {
|
||||||
|
#[allow(rustdoc::broken_intra_doc_links)]
|
||||||
/// Shows entries in a range, or a single entry if one is specified
|
/// Shows entries in a range, or a single entry if one is specified
|
||||||
/// [default]
|
/// [default]
|
||||||
Show,
|
Show,
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ impl LineLayout {
|
||||||
/// Return a map from entry indices to their corresponding display numbers.
|
/// Return a map from entry indices to their corresponding display numbers.
|
||||||
///
|
///
|
||||||
/// If you need to resolve a display number into an entry index, use
|
/// 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<usize, usize> {
|
pub fn numbers(&self) -> &HashMap<usize, usize> {
|
||||||
&self.numbers
|
&self.numbers
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue