Loop Labels

This lesson discusses loop labels in Rust.

What Is a Loop Label?

A loop label assigns an identifier to a loop.

Syntax

Write a label and colon before the loop.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy