Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
delehef committed Sep 22, 2023
1 parent 4aa1d3f commit 39ea5b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/exporters/besu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ pub fn render(cs: &ConstraintSet, package: &str, output_path: Option<&String>) -
.map(|c| BesuConstant {
name: crate::utils::purify(&c.0.name),
value: if c.1.bits() > 31 {
format!("new BigInteger(\"{}\")", c.1.to_string())
format!("new BigInteger(\"{}\")", c.1)
} else {
c.1.to_string()
},
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ impl ConstraintSetBuilder {
} else if src == "-" {
let mut buffer = String::new();
std::io::stdin().read_to_string(&mut buffer)?;
sources.push(("STDIN".to_string(), buffer.into()));
sources.push(("STDIN".to_string(), buffer));
} else {
sources.push(("Immediate expression".to_string(), src.into()));
}
Expand Down

0 comments on commit 39ea5b4

Please sign in to comment.