Skip to content

Commit ccded70

Browse files
committed
Remove unused import
1 parent 6d4e7c9 commit ccded70

File tree

5 files changed

+8
-11
lines changed

5 files changed

+8
-11
lines changed

vm/src/builtins/bytearray.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ use crate::{
3030
},
3131
sliceable::{SequenceIndex, SliceableSequenceMutOp, SliceableSequenceOp},
3232
types::{
33-
hash_not_implemented, AsBuffer, AsMapping, AsNumber, AsSequence, Callable, Comparable,
34-
Constructor, Initializer, IterNext, IterNextIterable, Iterable, PyComparisonOp,
35-
Unconstructible,
33+
AsBuffer, AsMapping, AsNumber, AsSequence, Callable, Comparable, Constructor, Initializer,
34+
IterNext, IterNextIterable, Iterable, PyComparisonOp, Unconstructible,
3635
},
3736
AsObject, Context, Py, PyObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject,
3837
VirtualMachine,

vm/src/builtins/dict.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ use crate::{
1919
protocol::{PyIterIter, PyIterReturn, PyMappingMethods, PyNumberMethods, PySequenceMethods},
2020
recursion::ReprGuard,
2121
types::{
22-
hash_not_implemented, AsMapping, AsNumber, AsSequence, Callable, Comparable, Constructor,
23-
Hashable, Initializer, IterNext, IterNextIterable, Iterable, PyComparisonOp,
24-
Unconstructible,
22+
AsMapping, AsNumber, AsSequence, Callable, Comparable, Constructor, Hashable, Initializer,
23+
IterNext, IterNextIterable, Iterable, PyComparisonOp, Unconstructible,
2524
},
2625
vm::VirtualMachine,
2726
AsObject, Context, Py, PyObject, PyObjectRef, PyPayload, PyRef, PyRefExact, PyResult,

vm/src/builtins/list.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ use crate::{
1313
sequence::{MutObjectSequenceOp, OptionalRangeArgs, SequenceExt, SequenceMutExt},
1414
sliceable::{SequenceIndex, SliceableSequenceMutOp, SliceableSequenceOp},
1515
types::{
16-
hash_not_implemented, AsMapping, AsSequence, Comparable, Constructor, Initializer,
17-
IterNext, IterNextIterable, Iterable, PyComparisonOp, Unconstructible,
16+
AsMapping, AsSequence, Comparable, Constructor, Initializer, IterNext, IterNextIterable,
17+
Iterable, PyComparisonOp, Unconstructible,
1818
},
1919
utils::collection_repr,
2020
vm::VirtualMachine,

vm/src/builtins/set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ use crate::{
1616
recursion::ReprGuard,
1717
types::AsNumber,
1818
types::{
19-
hash_not_implemented, AsSequence, Comparable, Constructor, Hashable, Initializer, IterNext,
20-
IterNextIterable, Iterable, PyComparisonOp, Unconstructible,
19+
AsSequence, Comparable, Constructor, Hashable, Initializer, IterNext, IterNextIterable,
20+
Iterable, PyComparisonOp, Unconstructible,
2121
},
2222
utils::collection_repr,
2323
vm::VirtualMachine,

vm/src/builtins/slice.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// sliceobject.{h,c} in CPython
22
use super::{PyInt, PyIntRef, PyTupleRef, PyType, PyTypeRef};
3-
use crate::types::hash_not_implemented;
43
use crate::{
54
class::PyClassImpl,
65
convert::ToPyObject,

0 commit comments

Comments
 (0)