Skip to content

Commit

Permalink
Code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
darth-cy committed Nov 26, 2024
1 parent f856b99 commit 19b03e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spartan_parallel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ impl<S: SpartanExtensionField> Assignment<S> {
}

/// Write the assignment into a file
pub fn write(&self, mut f: &File) -> std::io::Result<()> {
pub fn write(&self, f: &File) -> std::io::Result<()> {
for assg in &self.assignment {
write_bytes(&mut f, &assg.to_bytes())?;
write_bytes(f, &assg.to_bytes())?;
}
Ok(())
}
Expand Down

0 comments on commit 19b03e9

Please sign in to comment.