Update Examples
parent
28311a1cae
commit
cc58eb26ab
@ -151,14 +151,15 @@ fn main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
</td></td>
|
</td><td>
|
||||||
|
|
||||||
```
|
```
|
||||||
fn reverse(pair: (i32, bool)) -> (bool, i32)
|
fn reverse(pair: (i32, bool)) -> (bool, i32)
|
||||||
let (int_param, bool_param) = pair;
|
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