In this video I go over the concept of 'code blocks' which essentially just means to isolate a block of code from it's surrounding scope.
These blocks of code have access to the outer scope most of the time and once destroyed, any variable bindings made inside it are no longer existent to the scope it was defined in.
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
In questa pagina del sito puoi guardare il video online Rust Programming Tutorial #14 - Code Blocks della durata di ore minuti seconda in buona qualità , che l'utente ha caricato dcode 22 novembre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 24,083 volte e gli è piaciuto 392 spettatori. Buona visione!