chore(build): use std::iter::zip instead of itertools::zip, sort imports (#29)

This commit is contained in:
Valery Antopol 2022-09-16 18:01:36 +03:00 committed by GitHub
parent 30540d8623
commit fb69412161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -19,12 +19,13 @@ use crate::{TResult, TestGeneratorError};
use marine_it_parser::it_interface::{IRecordTypes, IModuleInterface};
use marine_it_parser::it_interface::it::{IType, IRecordType};
use itertools::zip;
use static_assertions::const_assert;
use std::cmp::Ordering;
use std::collections::HashMap;
use std::hash::Hasher;
use std::rc::Rc;
use static_assertions::const_assert;
use std::iter::zip;
pub(super) fn link_modules<'modules>(
modules: impl ExactSizeIterator<Item = (&'modules str, &'modules IModuleInterface)>,

View File

@ -24,9 +24,10 @@ use super::service_generation_utils::generate_service_definition;
use marine_it_parser::it_interface::IModuleInterface;
use proc_macro2::TokenStream;
use itertools::{Itertools, zip};
use itertools::Itertools;
use std::path::Path;
use std::iter::zip;
pub(crate) fn generate_service_definitions(
services: impl IntoIterator<Item = (String, ServiceDescription)>,