Skip to content

Commit

Permalink
no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
rakita committed Jan 27, 2025
1 parent 9703646 commit 2b1a434
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/access_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ impl AccessListInspector {
&mut self,
context: &CTX,
) {
//TODO(rakita) bump with new Revm.
let from = context.tx().caller();
let to = if let TxKind::Call(to) = context.tx().kind() {
to
Expand Down
2 changes: 1 addition & 1 deletion src/tracing/js/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ impl core::error::Error for StringError {}
impl DBErrorMarker for StringError {}

impl core::fmt::Display for StringError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "{}", self.0)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/tracing/js/builtins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use boa_engine::{
Context, JsArgs, JsError, JsNativeError, JsResult, JsString, JsValue, NativeFunction, Source,
};
use boa_gc::{empty_trace, Finalize, Trace};
use std::borrow::Borrow;
use core::borrow::Borrow;

/// bigIntegerJS is the minified version of <https://github.com/peterolson/BigInteger.js>.
pub(crate) const BIG_INT_JS: &str = include_str!("bigint.js");
Expand Down

0 comments on commit 2b1a434

Please sign in to comment.