From dfad71bc6e1a9bd84f610c143e0bfcd15560b387 Mon Sep 17 00:00:00 2001 From: Skgland Date: Sat, 24 Jan 2026 04:13:26 +0100 Subject: [PATCH] fix some lint warnings --- src/debray_allocator.rs | 2 +- src/parser/ast.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debray_allocator.rs b/src/debray_allocator.rs index 30fae204..6988420f 100644 --- a/src/debray_allocator.rs +++ b/src/debray_allocator.rs @@ -106,7 +106,7 @@ impl BranchStack { let branch_num = self .last() .map(|occurrences| occurrences.current_branch_num.clone()) - .unwrap_or_else(|| BranchNumber::default()); + .unwrap_or_default(); BranchDesignator { branch_num } } diff --git a/src/parser/ast.rs b/src/parser/ast.rs index f9aa94f9..c8d046e7 100644 --- a/src/parser/ast.rs +++ b/src/parser/ast.rs @@ -4,7 +4,6 @@ use crate::arena::*; use crate::atom_table::*; use crate::offset_table::*; -use crate::parser::char_reader::*; use crate::types::HeapCellValueTag; use std::cell::{Cell, Ref, RefCell, RefMut}; -- 2.54.0