fix some lint warnings

This commit is contained in:
Skgland
2026-01-24 04:13:26 +01:00
committed by Bennet Bleßmann
parent d8c6fa1fe5
commit dfad71bc6e
2 changed files with 1 additions and 2 deletions

View File

@@ -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 }
} }

View File

@@ -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};