Skip to content

Commit

Permalink
core fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jun 2, 2024
1 parent 28d1ecd commit 97d3bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl SP1Stdin {
}

/// Read a value from the buffer.
pub fn read<T: Serialize + DeserializeOwned>(&mut self) -> T {
pub fn read<T: DeserializeOwned>(&mut self) -> T {
let result: T =
bincode::deserialize(&self.buffer[self.ptr]).expect("failed to deserialize");
self.ptr += 1;
Expand Down

0 comments on commit 97d3bba

Please sign in to comment.