Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
segfault-magnet committed Oct 9, 2023
1 parent 9a0f847 commit 5157cb5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions packages/fuels-core/src/codec/abi_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ mod tests {
use std::vec;

use super::*;
use crate::types::U256;
use crate::{
constants::WORD_SIZE,
types::{enum_variants::EnumVariants, errors::Error, StaticStringToken},
types::{enum_variants::EnumVariants, errors::Error, StaticStringToken, U256},
};

#[test]
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels-core/src/types/param_types.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use itertools::chain;
use std::{collections::HashMap, iter::zip};

use fuel_abi_types::{
abi::program::{TypeApplication, TypeDeclaration},
utils::{extract_array_len, extract_generic_name, extract_str_len, has_tuple_format},
};
use itertools::chain;

use crate::{
constants::WORD_SIZE,
Expand Down
3 changes: 1 addition & 2 deletions packages/fuels-core/src/types/transaction_builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ use fuel_tx::{
use fuel_types::{bytes::padded_len_usize, Bytes32, ChainId, MemLayout, Salt};
use fuel_vm::{checked_transaction::EstimatePredicates, gas::GasCosts};

use super::{chain_info::ChainInfo, node_info::NodeInfo};
use crate::{
constants::{BASE_ASSET_ID, WORD_SIZE},
offsets,
Expand All @@ -28,8 +29,6 @@ use crate::{
},
};

use super::{chain_info::ChainInfo, node_info::NodeInfo};

#[derive(Debug, Clone)]
pub struct NetworkInfo {
pub consensus_parameters: ConsensusParameters,
Expand Down
3 changes: 1 addition & 2 deletions scripts/versions-replacer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ use color_eyre::{
Result,
};
use regex::Regex;
use walkdir::WalkDir;

use versions_replacer::{
metadata::collect_versions_from_cargo_toml, replace::replace_versions_in_file,
};
use walkdir::WalkDir;

#[derive(FromArgs)]
/// Replace variables like '{{{{versions.fuels}}}}' with correct versions from Cargo.toml.
Expand Down

0 comments on commit 5157cb5

Please sign in to comment.