johnstonskj / rust-atelier

Rust native core model for the AWS Smithy IDL
MIT License
76 stars 10 forks source link

fix: propagate Err up the call stack instead of unwrap() #21

Closed swaits closed 3 years ago

swaits commented 3 years ago

Removes an unneeded unwrap() and allows errors to propagate all the way back up to the original caller.

johnstonskj commented 3 years ago

Nice catch!