mirror of https://github.com/01-edu/public.git
docs(generics) correct grammar
This commit is contained in:
parent
d36e462f3b
commit
23a0633ab4
|
@ -2,13 +2,9 @@
|
||||||
|
|
||||||
### Instructions
|
### Instructions
|
||||||
|
|
||||||
Write a **function** called `identity` which calculates the identity of a value (receives any data type and returns the same value).
|
Create a **function** named `identity` which calculates the identity of a value (receives any data type and returns the same value).
|
||||||
|
|
||||||
|
|
||||||
### Notions
|
|
||||||
|
|
||||||
- [Generics](https://doc.rust-lang.org/book/ch10-01-syntax.html)
|
|
||||||
|
|
||||||
|
|
||||||
### Expected Function (signature to be completed)
|
### Expected Function (signature to be completed)
|
||||||
|
|
||||||
|
@ -38,3 +34,7 @@ Hello, world!
|
||||||
3
|
3
|
||||||
$
|
$
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Notions
|
||||||
|
|
||||||
|
- [Generics](https://doc.rust-lang.org/book/ch10-01-syntax.html)
|
||||||
|
|
Loading…
Reference in New Issue