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.

Continue your learning journey with a 14-day free trial.

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