Printing Styles
In this lesson, you will be introduced to the different printing styles in Rust.
We'll cover the following...
The table below summarizes the macros used to print in Rust.
Let’s discuss each of the macros in detail.
print!()
The print!()
macro simply prints the output to the console.
Example
The following example prints “Rust Programming Course” ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy