Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Oct 4, 2023
1 parent c4fcd73 commit 6318834
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion rust/candid_parser/src/bindings/analysis.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use candid::types::{Type, TypeEnv, TypeInner};
use crate::Result;
use candid::types::{Type, TypeEnv, TypeInner};
use std::collections::BTreeSet;

/// Same as chase_actor, with seen set as part of the type. Used for chasing type names from type definitions.
Expand Down
2 changes: 1 addition & 1 deletion rust/candid_parser/src/parser/random.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
use super::configs::{path_name, Configs};
use candid::Deserialize;
use crate::{Error, Result};
use arbitrary::{unstructured::Int, Arbitrary, Unstructured};
use candid::types::value::{IDLArgs, IDLField, IDLValue, VariantValue};
use candid::types::{Field, Type, TypeEnv, TypeInner};
use candid::Deserialize;
use std::collections::HashSet;
use std::convert::TryFrom;

Expand Down
2 changes: 1 addition & 1 deletion rust/candid_parser/src/parser/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use candid::types::{FuncMode, Label};
use crate::Result;
use candid::types::{FuncMode, Label};

#[derive(Debug, Clone)]
pub enum IDLType {
Expand Down
2 changes: 1 addition & 1 deletion rust/candid_parser/src/parser/typing.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use super::types::*;
use candid::types::{Field, Function, Type, TypeEnv, TypeInner};
use crate::{pretty_parse, Error, Result};
use candid::types::{Field, Function, Type, TypeEnv, TypeInner};
use std::collections::BTreeSet;
use std::path::{Path, PathBuf};

Expand Down
2 changes: 1 addition & 1 deletion rust/candid_parser/tests/parse_type.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use candid::types::TypeEnv;
use candid::bindings::candid as candid_export;
use candid::types::TypeEnv;
use candid_parser::bindings::{javascript, motoko, rust, typescript};
use candid_parser::parser::types::IDLProg;
use candid_parser::parser::typing::{check_file, check_prog};
Expand Down

0 comments on commit 6318834

Please sign in to comment.