Update Examples
parent
4c11a5126c
commit
eba9878870
@ -147,12 +147,12 @@ fn main() {
|
||||
</td><td>
|
||||
|
||||
```
|
||||
fn reverse(pair: (i32, bool)) -> (bool, i32)
|
||||
let (int_param, bool_param) = pair
|
||||
|
||||
fn reverse((int_param, bool_param): (i32, bool)) -> (bool, i32)
|
||||
(bool_param, int_param)
|
||||
|
||||
|
||||
|
||||
|
||||
#[derive(Debug)]
|
||||
struct Matrix(f32, f32, f32, f32);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user