apply suggestion

Signed-off-by: Thierry Marianne <thierry@marianne.io>
This commit is contained in:
Thierry Marianne
2026-03-04 13:58:08 +01:00
parent 16ed1040d2
commit ed59aa05b0

View File

@@ -5131,7 +5131,7 @@ impl Machine {
self.machine_st.heap.allocate_cstr(valid_str) self.machine_st.heap.allocate_cstr(valid_str)
), ),
Err(_) => { Err(_) => {
let cells: Vec<_> = bytes let cells: Vec<_> = cstr.to_bytes()
.iter() .iter()
.map(|&b| fixnum_as_cell!(Fixnum::build_with(b))) .map(|&b| fixnum_as_cell!(Fixnum::build_with(b)))
.collect(); .collect();