Odak modu

Rust Fundamentals

Expressions:Loops

The loop function is used to create indefinite loops. The loop block is performed until seeing keywords "return" or "break" (or the program is completely stopped with the panic command).

You can find further information from Rust documentation:

https://doc.rust-lang.org/reference/expressions/loop-expr.html 

For a detailed explanation of Infinite loops, you can watch this video as an additional resource:

https://www.youtube.com/watch?v=dUW7FB_ajMs

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!