The Basic Program

This lesson gets you acquainted with the Hello World program in Rust.

Rust code is always put in a file with .rs extension.

Hello World Program

Below is the source code for a traditional Hello World program. For a better understanding, you can take the AI mentor’s help.

Create a free account to access the full course.

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