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