Update Examples
parent
cc58eb26ab
commit
c165c5d98c
@ -142,10 +142,6 @@ fn main() {
|
||||
println!("One element tuple: {:?}", (5u32,));
|
||||
println!("Just an integer: {:?}", (5u32));
|
||||
|
||||
let tuple = (1, "hello", 4.5, true);
|
||||
let (a, b, c, d) = tuple;
|
||||
println!("{:?}, {:?}, {:?}, {:?}", a, b, c, d);
|
||||
|
||||
let matrix = Matrix(1.1, 1.2, 2.1, 2.2);
|
||||
println!("{:?}", matrix);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user