We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f856b99 commit 19b03e9Copy full SHA for 19b03e9
spartan_parallel/src/lib.rs
@@ -109,9 +109,9 @@ impl<S: SpartanExtensionField> Assignment<S> {
109
}
110
111
/// Write the assignment into a file
112
- pub fn write(&self, mut f: &File) -> std::io::Result<()> {
+ pub fn write(&self, f: &File) -> std::io::Result<()> {
113
for assg in &self.assignment {
114
- write_bytes(&mut f, &assg.to_bytes())?;
+ write_bytes(f, &assg.to_bytes())?;
115
116
Ok(())
117
0 commit comments