ponylang / pony-tutorial

:horse: Tutorial for the Pony programming language
http://tutorial.ponylang.io
BSD 2-Clause "Simplified" License
310 stars 111 forks source link

Improve example of `with` block with multiple objects #532

Closed i-ky closed 7 months ago

i-ky commented 7 months ago

Emphasize that all disposable objects listed in the first line of with block can be used within the block.

SeanTAllen commented 7 months ago

Thanks @i-ky. Nice small improvement that can go a long way towards eliminating a possible source of confusion.