Skip to content

Commit a7c6c7e

Browse files
committed
Move freelist size constants into PyPayload associated const
1 parent b62b95e commit a7c6c7e

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

crates/vm/src/builtins/list.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ thread_local! {
7979
}
8080

8181
impl PyPayload for PyList {
82-
// spell-checker:ignore MAXFREELIST
83-
/// PyList_MAXFREELIST
8482
const MAX_FREELIST: usize = 80;
8583
const HAS_FREELIST: bool = true;
8684

crates/vm/src/builtins/slice.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ thread_local! {
3030
}
3131

3232
impl PyPayload for PySlice {
33-
// spell-checker:ignore MAXFREELIST
34-
/// PySlice_MAXFREELIST
3533
const MAX_FREELIST: usize = 1;
3634
const HAS_FREELIST: bool = true;
3735

0 commit comments

Comments
 (0)