Skip to content

Instantly share code, notes, and snippets.


Devin Jeanpierre ssbr

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ssbr on github.
  • I am devinj ( on keybase.
  • I have a public key ASAbafxjymLhzoF3Bud0xzp0tp3UzwhCQn54T2mPLAi9JQo

To claim this, I am signing this object:

use core::io;
pub enum MyType {
A, B
impl MyType {
pub fn switch(&mut self) {
*self = match *self {
A => B,