Skip to content

Commit 19b03e9

Browse files
committed
Code improvement
1 parent f856b99 commit 19b03e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spartan_parallel/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ impl<S: SpartanExtensionField> Assignment<S> {
109109
}
110110

111111
/// Write the assignment into a file
112-
pub fn write(&self, mut f: &File) -> std::io::Result<()> {
112+
pub fn write(&self, f: &File) -> std::io::Result<()> {
113113
for assg in &self.assignment {
114-
write_bytes(&mut f, &assg.to_bytes())?;
114+
write_bytes(f, &assg.to_bytes())?;
115115
}
116116
Ok(())
117117
}

0 commit comments

Comments
 (0)