printing to stdout rust code example
Example: rust printing string on stdout
fn main() {
println!(); // prints just a newline
println!("hello there!");
// x can be any var that implements the std::fmt::Display trait
let x = true;
println!("x is {}", x);
}