Refeshing RBE time

cat-town
Dan Buch 3 years ago
parent 7ae9903d95
commit 8d0699fb7a
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7

@ -3,16 +3,21 @@ fn main() {
println!("{0}, this is {1}. {1}, this is {0}", "Alice", "Bob"); println!("{0}, this is {1}. {1}, this is {0}", "Alice", "Bob");
println!("{subject} {verb} {object}", println!(
object="the lazy dog", "{subject} {verb} {object}",
subject="the quick brown fox", object = "the lazy dog",
verb="jumps over"); subject = "the quick brown fox",
verb = "jumps over"
);
println!("{} of {:b} people know binary, the other half doesn't", 1, 2); println!(
"{} of {:b} people know binary, the other half doesn't",
1, 2
);
println!("{number:>width$}", number=1, width=6); println!("{number:>width$}", number = 1, width = 6);
println!("{number:>0width$}", number=1, width=6); println!("{number:>0width$}", number = 1, width = 6);
println!("My name is {0}, {1} {0}", "Bond", "James"); println!("My name is {0}, {1} {0}", "Bond", "James");

Loading…
Cancel
Save