-
-
Save ryanswrt/70cce7ede25f084502c896bf5c471d2b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// inside "impl Contract" | |
pub fn toggle(&mut self, params: &mut Parameters) -> Result<(), String> { | |
self.universe.toggle_cell(params.read(), params.read()); | |
Ok(()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment