Beginner Rust
Q25 / 100

What is the use keyword in Rust?

Correct! Well done.

Incorrect.

The correct answer is B) Brings a path into scope to avoid repeating long module paths

B

Correct Answer

Brings a path into scope to avoid repeating long module paths

Explanation

use std::collections::HashMap; allows using HashMap directly instead of the full path.

Progress
25/100