Skip to content

Commit 3a9a1c9

Browse files
committed
Fix cargo formatting
Signed-off-by: snowapril <sinjihng@gmail.com>
1 parent b0618b9 commit 3a9a1c9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

vm/src/stdlib/builtins.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,13 @@ mod builtins {
2020
function::{
2121
ArgBytesLike, ArgCallable, ArgIndex, ArgIntoBool, ArgIterable, ArgMapping,
2222
ArgStrOrBytesLike, Either, FuncArgs, KwArgs, OptionalArg, OptionalOption, PosArgs,
23-
PyArithmeticValue,
2423
},
25-
protocol::{PyIter, PyIterReturn, PyNumberBinaryOp},
24+
protocol::{PyIter, PyIterReturn},
2625
py_io,
2726
readline::{Readline, ReadlineResult},
2827
stdlib::sys,
2928
types::PyComparisonOp,
30-
AsObject, PyObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject, VirtualMachine,
29+
AsObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject, VirtualMachine,
3130
};
3231
use num_traits::{Signed, ToPrimitive};
3332

vm/src/types/slot.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
use crate::{
2-
builtins::{
3-
type_::PointerSlot, PyFloat, PyInt, PyStr, PyStrInterned, PyStrRef, PyType, PyTypeRef,
4-
},
2+
builtins::{type_::PointerSlot, PyInt, PyStr, PyStrInterned, PyStrRef, PyType, PyTypeRef},
53
bytecode::ComparisonOperator,
64
common::hash::PyHash,
75
convert::{ToPyObject, ToPyResult},

0 commit comments

Comments
 (0)