fix some lint warnings
This commit is contained in:
@@ -106,7 +106,7 @@ impl BranchStack {
|
|||||||
let branch_num = self
|
let branch_num = self
|
||||||
.last()
|
.last()
|
||||||
.map(|occurrences| occurrences.current_branch_num.clone())
|
.map(|occurrences| occurrences.current_branch_num.clone())
|
||||||
.unwrap_or_else(|| BranchNumber::default());
|
.unwrap_or_default();
|
||||||
|
|
||||||
BranchDesignator { branch_num }
|
BranchDesignator { branch_num }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,6 @@
|
|||||||
use crate::arena::*;
|
use crate::arena::*;
|
||||||
use crate::atom_table::*;
|
use crate::atom_table::*;
|
||||||
use crate::offset_table::*;
|
use crate::offset_table::*;
|
||||||
use crate::parser::char_reader::*;
|
|
||||||
use crate::types::HeapCellValueTag;
|
use crate::types::HeapCellValueTag;
|
||||||
|
|
||||||
use std::cell::{Cell, Ref, RefCell, RefMut};
|
use std::cell::{Cell, Ref, RefCell, RefMut};
|
||||||
|
|||||||
Reference in New Issue
Block a user