Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Nov 29, 2024
1 parent 491b956 commit 399db7a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion compiler/noirc_printable_type/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn to_string<F: AcirField>(value: &PrintableValue<F>, typ: &PrintableType) -> Op
(PrintableValue::Vec { array_elements, is_slice }, PrintableType::Array { typ, .. })
| (PrintableValue::Vec { array_elements, is_slice }, PrintableType::Slice { typ }) => {
if *is_slice {
output.push('&')
output.push('&');
}
output.push('[');
let mut values = array_elements.iter().peekable();
Expand Down
2 changes: 1 addition & 1 deletion tooling/nargo/src/foreign_calls/mocker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use acvm::{
};
use serde::{Deserialize, Serialize};

use super::{ForeignCall, ForeignCallExecutor, ForeignCallError};
use super::{ForeignCall, ForeignCallError, ForeignCallExecutor};

/// This struct represents an oracle mock. It can be used for testing programs that use oracles.
#[derive(Debug, PartialEq, Eq, Clone)]
Expand Down
6 changes: 5 additions & 1 deletion tooling/nargo/src/foreign_calls/print.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
use acvm::{acir::brillig::{ForeignCallParam, ForeignCallResult}, pwg::ForeignCallWaitInfo, AcirField};
use acvm::{
acir::brillig::{ForeignCallParam, ForeignCallResult},
pwg::ForeignCallWaitInfo,
AcirField,
};
use noirc_printable_type::{PrintableType, PrintableValueDisplay};

use noirc_abi::{decode_printable_value as decode_value, decode_string_value};
Expand Down
2 changes: 1 addition & 1 deletion tooling/nargo/src/foreign_calls/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use acvm::{acir::brillig::ForeignCallResult, pwg::ForeignCallWaitInfo, AcirField
use jsonrpc::{arg as build_json_rpc_arg, minreq_http::Builder, Client};
use serde::{Deserialize, Serialize};

use super::{ForeignCallExecutor, ForeignCallError};
use super::{ForeignCallError, ForeignCallExecutor};

#[derive(Debug)]
pub(super) struct RPCForeignCallExecutor {
Expand Down

0 comments on commit 399db7a

Please sign in to comment.