mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
Merge pull request #246 from aysabzevar/fix-an-English-grammar-mistake
fix-an-English-grammar-mistake
This commit is contained in:
1 file changed
+1
-1
@@ -56,7 +56,7 @@ println!("{} {}", 1, 3);
|
||||
println!("{0} is {1} {2}, also {0} is a {3} programming language", "Rust", "cool", "language", "safe");
|
||||
|
||||
// Named Arguments
|
||||
println!("{country} is an diverse nation with unity.", country = "India");
|
||||
println!("{country} is a diverse nation with unity.", country = "India");
|
||||
|
||||
// Placeholder traits :b for binary, :0x is for hex and :o is octal
|
||||
println!("Let us print 76 is binary which is {:b} , and hex equivalent is {:0x} and octal equivalent is {:o}", 76, 76, 76);
|
||||
|
||||
Reference in new issue
Block a user