From 676412fe6da139a91d017b3c578a87b5010797bc Mon Sep 17 00:00:00 2001 From: lyken Date: Fri, 14 Jun 2024 09:46:42 +0800 Subject: [PATCH] apply cargo fmt --- nac3artiq/src/symbol_resolver.rs | 2 +- nac3core/src/codegen/concrete_type.rs | 4 +++- nac3core/src/toplevel/builtins.rs | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/nac3artiq/src/symbol_resolver.rs b/nac3artiq/src/symbol_resolver.rs index 2bb2751c..0b9ede90 100644 --- a/nac3artiq/src/symbol_resolver.rs +++ b/nac3artiq/src/symbol_resolver.rs @@ -9,7 +9,7 @@ use nac3core::{ }, typecheck::{ type_inferencer::PrimitiveStore, - typedef::{iter_type_vars, into_var_map, Type, TypeEnum, TypeVar, Unifier, VarMap}, + typedef::{into_var_map, iter_type_vars, Type, TypeEnum, TypeVar, Unifier, VarMap}, }, }; use nac3parser::ast::{self, StrRef}; diff --git a/nac3core/src/codegen/concrete_type.rs b/nac3core/src/codegen/concrete_type.rs index 65cbe570..15d063c5 100644 --- a/nac3core/src/codegen/concrete_type.rs +++ b/nac3core/src/codegen/concrete_type.rs @@ -3,7 +3,9 @@ use crate::{ toplevel::DefinitionId, typecheck::{ type_inferencer::PrimitiveStore, - typedef::{into_var_map, FunSignature, FuncArg, Type, TypeEnum, TypeVar, TypeVarId, Unifier}, + typedef::{ + into_var_map, FunSignature, FuncArg, Type, TypeEnum, TypeVar, TypeVarId, Unifier, + }, }, }; diff --git a/nac3core/src/toplevel/builtins.rs b/nac3core/src/toplevel/builtins.rs index e4b3ba0b..8c0c3969 100644 --- a/nac3core/src/toplevel/builtins.rs +++ b/nac3core/src/toplevel/builtins.rs @@ -25,7 +25,7 @@ use crate::{ }, symbol_resolver::SymbolValue, toplevel::{helper::PrimDef, numpy::make_ndarray_ty}, - typecheck::typedef::{iter_type_vars, into_var_map, TypeVar, VarMap}, + typecheck::typedef::{into_var_map, iter_type_vars, TypeVar, VarMap}, }; use super::*;