Skip to content

Instantly share code, notes, and snippets.

@rbalicki2
Created August 9, 2019 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbalicki2/06339b766e8bb1d0140f5a003f917026 to your computer and use it in GitHub Desktop.
Save rbalicki2/06339b766e8bb1d0140f5a003f917026 to your computer and use it in GitHub Desktop.
match & *unwrapped_promise.borrow() {
smithy::types::PromiseState::Success(val) => {
let val = val.clone();
smd!({ &mut val })
},
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment