Skip to content

Commit

Permalink
Merge fixes, lints
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo committed Sep 11, 2024
1 parent 9587c64 commit 88d9f44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion miden-lib/src/transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl TransactionKernel {
let source_manager = Arc::new(DefaultSourceManager::default());
let kernel_library = Self::kernel_as_library();

let assembler = Assembler::with_kernel(source_manager, Self::kernel())
Assembler::with_kernel(source_manager, Self::kernel())
.with_library(StdLibrary::default())
.expect("failed to load std-lib")
.with_library(MidenLib::default())
Expand All @@ -285,6 +285,7 @@ impl TransactionKernel {
pub fn testing_assembler_with_mock_account() -> Assembler {
let assembler = Self::testing_assembler();
let library = AccountCode::mock_library(assembler.clone());

assembler.with_library(library).expect("failed to add mock account code")
}
}
3 changes: 0 additions & 3 deletions objects/src/testing/account_code.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
use std::sync::Arc;

use assembly::{ast::Module, Assembler, Library, LibraryPath};
use std::sync::Arc;

use assembly::{ast::Module, Assembler, Library, LibraryPath};

use crate::accounts::AccountCode;
Expand Down

0 comments on commit 88d9f44

Please sign in to comment.