Fix cargo formatting

Signed-off-by: snowapril <sinjihng@gmail.com>
This commit is contained in:
snowapril committed 2023-04-19 22:18:19 +09:00
1 parent b0618b9c9a
commit 3a9a1c93dd
2 files changed
+3 -6

No files matched your search

+2 -3
View File
@@ -20,14 +20,13 @@ mod builtins {
function::{
ArgBytesLike, ArgCallable, ArgIndex, ArgIntoBool, ArgIterable, ArgMapping,
ArgStrOrBytesLike, Either, FuncArgs, KwArgs, OptionalArg, OptionalOption, PosArgs,
PyArithmeticValue,
},
protocol::{PyIter, PyIterReturn, PyNumberBinaryOp},
protocol::{PyIter, PyIterReturn},
py_io,
readline::{Readline, ReadlineResult},
stdlib::sys,
types::PyComparisonOp,
AsObject, PyObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject, VirtualMachine,
AsObject, PyObjectRef, PyPayload, PyRef, PyResult, TryFromObject, VirtualMachine,
};
use num_traits::{Signed, ToPrimitive};
+1 -3
View File
@@ -1,7 +1,5 @@
use crate::{
builtins::{
type_::PointerSlot, PyFloat, PyInt, PyStr, PyStrInterned, PyStrRef, PyType, PyTypeRef,
},
builtins::{type_::PointerSlot, PyInt, PyStr, PyStrInterned, PyStrRef, PyType, PyTypeRef},
bytecode::ComparisonOperator,
common::hash::PyHash,
convert::{ToPyObject, ToPyResult},