Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Quantumplation authored and rvcas committed Jul 1, 2023
1 parent 4a8cb72 commit c10f0e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions crates/aiken-project/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ use indexmap::IndexMap;
use miette::NamedSource;
use options::{CodeGenMode, Options};
use package_name::PackageName;
use pallas::ledger::{addresses::{
Address, Network, ShelleyAddress, ShelleyDelegationPart, StakePayload,
}, primitives::babbage::{self as cardano, PolicyId}};
use pallas::ledger::{
addresses::{Address, Network, ShelleyAddress, ShelleyDelegationPart, StakePayload},
primitives::babbage::{self as cardano, PolicyId},
};
use pallas_traverse::ComputeHash;
use script::{EvalHint, EvalInfo, Script};
use std::{
Expand Down Expand Up @@ -386,10 +387,7 @@ where
})
}

pub fn policy(
&self,
title: Option<&String>
) -> Result<PolicyId, Error> {
pub fn policy(&self, title: Option<&String>) -> Result<PolicyId, Error> {
// Read blueprint
let blueprint = File::open(self.blueprint_path())
.map_err(|_| blueprint::error::Error::InvalidOrMissingFile)?;
Expand Down
2 changes: 1 addition & 1 deletion crates/aiken/src/cmd/blueprint/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub mod address;
pub mod policy;
pub mod apply;
pub mod convert;
pub mod policy;

use clap::Subcommand;

Expand Down

0 comments on commit c10f0e5

Please sign in to comment.