println
This commit is contained in:
8
println/Cargo.toml
Normal file
8
println/Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[package]
|
||||||
|
name = "println"
|
||||||
|
version = "0.1.0"
|
||||||
|
edition = "2021"
|
||||||
|
|
||||||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
10
println/src/main.rs
Normal file
10
println/src/main.rs
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("Hello, world!");
|
||||||
|
|
||||||
|
let v1 = " es el ";
|
||||||
|
let v2 = "lugar para ";
|
||||||
|
|
||||||
|
println!("tinchicus.com{}{}aprender", v1, v2);
|
||||||
|
|
||||||
|
println!("tinchicus.com{1}{0}aprender {0}", v1, v2);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user