...

/

Printing Styles

Printing Styles

In this lesson, you will be introduced to the different printing styles in Rust.

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” ...