Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 29, 2024
1 parent 0891e2f commit 975b471
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
#![allow(non_snake_case)]
#![cfg_attr(not(feature = "trace"), allow(unused))]

use hvm64_util::prelude::*;

use core::{
cell::UnsafeCell,
fmt::{self, Debug, Formatter, Write},
Expand All @@ -73,7 +75,6 @@ use core::{
#[cfg(feature = "std")]
use std::sync::{Mutex, Once};

use hvm64_util::prelude::*;
use hvm64_util::ops::TypedOp as Op;

use crate::{Addr, Port, Trg, Wire};
Expand Down
3 changes: 2 additions & 1 deletion transform/src/eta_reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@
//!
//! The pass also reduces subnets such as `(* *) -> *`
use hvm64_util::prelude::*;

use core::ops::RangeFrom;

use hvm64_util::prelude::*;
use hvm64_ast::{Net, Tree};

use ordered_float::OrderedFloat;
Expand Down
3 changes: 2 additions & 1 deletion transform/src/inline.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use hvm64_util::prelude::*;

use core::ops::BitOr;

use hvm64_util::prelude::*;
use hvm64_ast::{Book, Net, Tree};
use hvm64_util::maybe_grow;

Expand Down
1 change: 1 addition & 0 deletions transform/src/pre_reduce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//! overriding the previous one.
use hvm64_util::prelude::*;

use hvm64_ast::{Book, Tree};
use hvm64_host::Host;
use hvm64_runtime::{AsDef, Def, Heap, InterpretedDef, LabSet, Port, Rewrites};
Expand Down
1 change: 1 addition & 0 deletions transform/src/prune.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use hvm64_util::prelude::*;

use hvm64_ast::{Book, Tree};
use hvm64_util::maybe_grow;

Expand Down

0 comments on commit 975b471

Please sign in to comment.