Fix some clippy warnings
This commit is contained in:
parent
fdec674085
commit
5869e50bf5
2 changed files with 0 additions and 9 deletions
|
|
@ -101,14 +101,6 @@ impl LineLayout {
|
|||
&self.lines
|
||||
}
|
||||
|
||||
/// Return a map from entry indices to their corresponding display numbers.
|
||||
///
|
||||
/// If you need to resolve a display number into an entry index, use
|
||||
/// [`Self::look_up_number`] instead.
|
||||
pub fn numbers(&self) -> &HashMap<usize, usize> {
|
||||
&self.numbers
|
||||
}
|
||||
|
||||
pub fn look_up_number(&self, number: usize) -> Result<usize> {
|
||||
self.numbers
|
||||
.iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue