Skip to content

Commit

Permalink
tiny lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brockelmore committed Jul 10, 2024
1 parent c58a790 commit 4ee72fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/solc-expressions/src/literal.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use graph::{
elem::*,
nodes::{Builtin, Concrete, ConcreteNode, ContextNode, ContextVar, ContextVarNode, ExprRet},
nodes::{Concrete, ConcreteNode, ContextNode, ContextVar, ContextVarNode, ExprRet},
AnalyzerBackend, ContextEdge, Edge, Node,
};
use shared::{ExprErr, IntoExprErr, RangeArena};
Expand Down Expand Up @@ -97,7 +97,7 @@ pub trait Literal: AnalyzerBackend + Sized {
) -> Result<(), ExprErr> {
let int =
U256::from_dec_str(integer).map_err(|e| ExprErr::ParseError(loc, e.to_string()))?;
let mut exp = if !exponent.is_empty() {
let exp = if !exponent.is_empty() {
U256::from_dec_str(exponent).map_err(|e| ExprErr::ParseError(loc, e.to_string()))?
} else {
U256::from(0)
Expand Down

0 comments on commit 4ee72fa

Please sign in to comment.