cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
636 stars 100 forks source link

fix typo in code snippet #198

Closed kibibyt3 closed 4 months ago

kibibyt3 commented 4 months ago

The definition of asset returns (), which doesn't seem to be intended. The definition of another_asset would result in a syntax error from the missing semicolon.

willcrichton commented 4 months ago

Thanks!