Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
danhper committed Jul 23, 2024
1 parent 9c43dd4 commit f73f99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/builtins/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fn keccak256(_env: &Env, args: &[Value]) -> Result<Value> {
Ok(Value::FixBytes(alloy::primitives::keccak256(data), 32))
}

fn get_type<'a>(_env: &Env, args: &[Value]) -> Result<Value> {
fn get_type(_env: &Env, args: &[Value]) -> Result<Value> {
args.first()
.map(|v| Value::TypeObject(v.get_type()))
.ok_or(anyhow!("get_type function expects one argument"))
Expand Down

0 comments on commit f73f99e

Please sign in to comment.